how to push a new project on a new branch of existing git project code example Example: push project to new branch git git push -u origin branchName