To delete local branch
$ git branch -d your_local_branch
To delete remote branch
$ git push origin :your_remote_branch
or
$ git push origin --delete "branchName"
Deleting remote branch normally done after you or your collaborators are finished with and have merged it into master branch.
However deleting local branch maybe due to testing or wrong branch name or any reason.
What do you think?