Update callback fn ptr for git_reference_foreach As part of API review, use a typedef for the callback fn ptr.