git-note - add hooks method