github change branch name online code example
Example 1: change branch name
$ 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