Delete a branch locally:

git branch -d the-branch-name

Delete a branch on remote:

git push origin --delete the-branch-name

References