Having pushed a wrongly extended branch to origin, or you just don’t need to have a branch both locally and remote.
Locally, deleting the branch was covered in a previous article.
However, there are some cases that require the branch to be deleted from origin. With GIT this is very easy:
git push origin :branchName