How to rename branch git
DevOps
About
How to rename a branch in Git details running localized version control strings—such as `git branch -m <old_name> <new_name>` to adjust a local branch, followed by pushing the new tracking reference state to the upstream repository layout.