Delete the local branch
Copygit branch -d branch_to_delete
git branch -d branch_to_delete
Delete the remote branch:
Copygit push origin :branch_to_delete
git push origin :branch_to_delete
NOTE Make sure you put the colon in front of the branch name
Thanks, @nistude Show archive.org snapshot