git change local branch name

Shell
git branch -m <newname>
How to rename a branch on git
Source

Also in Shell: