how ton rename branch in gtihub code example Example: rename local branch github git branch -m oldname newname