how to push local repo to main git branch code example
Example 1: push project to new branch git
git push -u origin branchName
Example 2: git new branch push to remote
git push -u origin <branch>
Example 3: Push your branch up to the remote.
$ git push <remote> <branch>