Callback used to iterate over reference names
The reference name
Payload passed to git_reference_foreach_name
non-zero to terminate the iteration