How do I rename both a Git local and remote branch name?
There are a few ways to accomplish that: Change your local branch and then push your changes Push the branch to remote with the new name while keeping the original name locally Renaming local and remote Renaming Only remote branch Credit: ptim Important note: When you use the git branch -m (move), Git is also updating your tracking branch with … Read more