Git - Rename a git branch

To rename a branch is very easy to need only the next command for it.

(-m means “Move/rename a branch and the corresponding reflog.”)

    git branch -m old_branch_name new_branch_name

Comments !