deleting a remote branch is rather clunky, but easy:
git push origin :branch
please ensure that you have the colon (:) infront of your branch name to ensure that the branch will deleted.
March
7 years ago
git checkout -b your_branch
git push -u origin your_branch
git fetch
git checkout origin/your_branch
git push
... work ...
git commit
... work ...
git commit
git push origin HEAD:refs/heads/your_branch
git checkout --track -b your_branch origin/your_branch
... work ...
git commit
... work ...
git commit
git push
Found at stackoverflow