GIT – Create/Delete a Remote Branch

It’s really easy to create a remote branch on a distributed repository

   git push origin <newfeature>

Where origin is your remote name and newfeature is the name of the branch you want to push up.

Deleting is also quite simple:

   git push origin :<newfeature>

That will delete the newfeature branch on the origin remote, but you’ll still need to delete the branch locally with

   git branch -d newfeature.