This will remove any branches that where tracking a remote branch that have been removed from the remote.
remove all branches that are no longer on the origin remote and are merged into the current branch
$ git clean-branches origin
Place git-clean-branches
anywhere in you path.