how to rename branch name in github local code example Example: rename local branch github git branch -m oldname newname