A Hidden Git Feature: Notes
brianschrader.com
brianschrader.com
You can 'git checkout refs/notes/commits' and see the structure.
Hadn't heard about this feature, but as I understand it, the notes are stored as commits, just not in the same namespace/on the same branch as you are working on.