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
More on Hooks, submodules, LFS and signing
What are Git hooks and where do they live?BeginnerHow do you share hooks with a team, given `.git/hooks` is not committed?IntermediateWhat does the `commit-msg` hook receive and what is it good for?IntermediateWhat do `pre-receive` and `update` hooks do and how do they differ?AdvancedWhat is a Git submodule?BeginnerWhy do submodules confuse people and what are the common pitfalls?Intermediate