Delete an existing branch reference.
Note that if the deletion succeeds, the reference object will not be valid anymore, and should be freed immediately by the user using git_reference_free().
git_reference_free()
A valid reference representing a branch
0 on success, or an error code.