use git_note_iterator type instead of non-public git_iterator one