Rename local git branch

Renames a local git branch while keeping the name of the upstream branch unchanged.

Authored by: siride
oldname
newname

Command
Copy
git branch -m oldname newname
Tags