I have master and new-project branches. And now I\'d like to create a brand new repo with its master based on the new-project branch.
Update:
cd to local repo containing old_branch and:
$ git push https://github.com/accountname/new_repo.git +old_branch:master