So, you’ve created a git branch but renamed it incorrectly? This article is for you! You’ve got good luck as Git allows to rename the Git Branch easily just by using the -m code. Let’s learn how to do it?
Source: LXer – How to rename a Local Git Branch?