create new branch from original repo 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