new repository on the branch git code example
Example: git create new repo from branch
$ git push https://github.com/accountname/new_repo.git +old_branch:master
$ git push https://github.com/accountname/new_repo.git +old_branch:master