Renaming from within branch

git branch -m <new-name>

Renaming from outside branch

git branch -m <old-name> <new-name>