SyntaxFix
Write A Post
Hire A Developer
Questions
If you wanna actually just create remote branch without having the local one, you can do it like this:
git push origin HEAD:refs/heads/foo
It pushes whatever is your HEAD to branch foo that did not exist on the remote.