Moves/renames an existing branch reference.
this |
a Branch. |
new_branch_name |
target name of the branch once the move is performed; this name is validated for consistency. |
flags |
a CreateFlags. |
the new branch or null. |