Sometimes its useful to be able to rename the local branch that you are working on in Git.
The good news is, using the command line its straight forward. All you need to use is the following command:
git branch -m old-branch-name new-branch-name
git branch and you will now see that the old name of your branch has been changed to the name you typed!
Hope this helped you out!