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
I use this and it is pretty handy:
git config --global alias.mkdir '!git checkout -b $1; git status; git push -u origin $1; exit;'
Usage: git mkdir NEW_BRANCH
You don't even need git status; maybe, I just want to make sure everything is going well...
You can have BOTH the LOCAL and REMOTE branch with a single command.