Added a function get_note_for_commit which gets the note in our namespace for a commit ref if it exists.