0 How to rename a local branch in git Its not always possible to come up with that perfect branch name at first attempt. Git lets you easily rename a local branch by issuing the following command. git branch -m old-branch-name new-branch-name tips 13 Please enable JavaScript to view the comments powered by Disqus.