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