Removes merged branches that are already deleted from the remote repository, but they are still on your local machine.
git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d
git config --global alias.prune "!git remote update --prune && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d"