renommer la branche git
git branch -m <new_name>
git renommer la branche locale
git branch -m <oldname> <newname>
git change le nom de la branche
git branch –m old-name new-name
comment changer le nom de la branche dans github
$ git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
$ git fetch origin
$ git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME