github change repository name code example
Example 1: git name repository
basename `git rev-parse --show-toplevel`
Example 2: how to change branch name in github
$ git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
$ git fetch origin
$ git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME
Example 3: rename github repository command line
$ git remote set-url origin new_url