When branches get of to a wrong start
# Current branch
$ git branch -m <newname>
# Point to branch
$ git branch -m <oldname> <newname>
When branches get of to a wrong start
# Current branch
$ git branch -m <newname>
# Point to branch
$ git branch -m <oldname> <newname>