[Tips]Change the branch name in Git
To change the name of the branch
Change the existing branch to the new name with “git branch -m” or “git branch –move”.
> git branch -m <current_name> <new_name>
If you would like to change the name of the branch currently checked out, the first argument <current_name> doesn’t need.