Please check out a branch to push to a remote. code example
Example 1: git new branch push to remote
git push -u origin <branch>
Example 2: github Push local branch to Remote
git push origin <Branch_Name>
Example 3: push local branch changes to remote branch
git push -u origin localBranch:remoteBranchToBeCreated
Example 4: Push your branch up to the remote.
$ git push <remote> <branch>