Add `git_reference_is_note`.
Merge pull request #2098 from arthurschreiber/arthur/add-git_reference_is_note

Add `git_reference_is_note`.