Git Renaming a local branch


Example

You can rename branch in local repository using this command:

git branch -m old_name new_name