I want to delete a branch both locally and remotely.
$ git branch -d
Before executing
git branch --delete
make sure you determine first what the exact name of the remote branch is by executing:
git ls-remote
This will tell you what to enter exactly for value. (branch is case sensitive!)
branch