I created a local branch which I want to \'push\' upstream. There is a similar question here on Stack Overflow on how to track a newly created remote branch.
Howeve
You can do it in 2 steps:
1. Use the checkout
for create the local branch:
git checkout -b yourBranchName
2. Use the push
command to autocreate the branch and send the code to the remote repository:
git push -u origin yourBranchName
There are multiple ways to do this but I think that this way is really simple.