How to Rename a Branch in Git
Branching is a trivial exercise in Git. Unfortunately, trivial tasks rarely get due attention, and mistakes happen. If you’ve misnamed a branch, it’ll have to be renamed. Here’s how to do that.
Why Branch Names Are Important In Git Branch Names Are Important How Do Git Branches Git Before Renaming How To Update Maintain Separate Git
Source: howtogeek.com