Git is a popular version control system. It’s distributed and good for tracking changes in source code. Mostly uses during software development. Most teams use branches to make changes in projects.
Branches have a unique names, but if you select wrong name, you can change it.
Rename the current local branch
git branch -m new_name
Rename a different branch
git branch -m old_name new_name