Move/rename an existing branch reference.
Current name of the branch to be moved; this name is validated for consistency.
Target name of the branch once the move is performed; this name is validated for consistency.
Overwrite existing branch.
0 on success, GIT_ENOTFOUND if the branch doesn't exist or an error code.