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