Delete a branch locally:
git branch -d the-branch-name
Delete a branch on remote:
git push origin --delete the-branch-name
References
- Git Branching – Remote Branches : Deleting Remote Branches
- Git – Branch Management
- Git branch – Delete local branch