rename github branch upstream code example
Example: edit branch name git
$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name
$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name