Drop local branches which have been removed from remote.
git branch -vv | awk '/gone/ {print $1}' | xargs git branch -d`
Warning
:
It uses the word gone
in the output of git branch -vv
so if your commit line
has that it can become a false
positive.