push a locally created branch to a remore repo code example
Example 1: git push branch
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>