git remote prune origin --dry-run
git remote prune origin
git branch --merged | grep -v \*
git branch --merged | grep -v \* | xargs git branch -D
git branch --merged | Select-String -Pattern '\*' -notMatch
git branch --merged | Select-String -Pattern '\*' -notMatch | % { $_.split()[0] } | % { git branch -D $_ }