Add `git_reference_is_note`.

I noticed this was missing.