Should be `git_reference_foreach_cb`.