I want to delete a branch both locally and remotely.
$ git branch -d
It's very simple:
To delete the remote branch
git push -d origin
Or
git push origin :
To forcefully delete local branch
git branch -D