I want to delete a branch both locally and remotely.
$ git branch -d
You can also use the following to delete the remote branch
git push --delete origin serverfix
Which does the same thing as
git push origin :serverfix
but it may be easier to remember.