creat\e new repo and branch out 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