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