Move/rename an existing local branch reference.
The new branch name will be checked for validity.
See git_tag_create()
for rules about valid names.
Target name of the branch once the move is performed; this name is validated for consistency.
Overwrite existing branch.
The one line long message to be appended to the reflog
0 on success, GIT_EINVALIDSPEC or an error code.