how to change the name of my branch code example
Example 1: rename branch git
git branch -m <new_name>
Example 2: change name of branch github
git push origin :old-name-of-branch-on-github
git branch -m old-name-of-branch-on-github new-name-for-branch-you-want
git push origin new-name-for-branch-you-want