Interview Prep/Git & GitHub/Hooks, submodules, LFS and signing

What is `git notes`?

AdvancedConceptHooks, submodules, LFS and signing
Answer

Notes attach extra data to commits without changing their IDs, stored under refs/notes/*. They are not pushed or fetched by default and GitHub does not render them, so they are used mostly by tooling such as code review systems.

git notes add -m "deployed to prod 2026-11-02" HEAD
git push origin refs/notes/commits
All Git & GitHub questions Roadmap: Git & GitHub

More on Hooks, submodules, LFS and signing