git remote prune origin --dry-run | grep 'would prune' | awk '{ print $4 }' | sed 's@origin/@@g' | xargs git branch -D