branch_rename function

Rename a branch