Exclua todas as filiais de características
git branch --merged | grep -v '^* master$' | grep -v '^ master$' | xargs git branch -d
Hungry Hippopotamus
git branch --merged | grep -v '^* master$' | grep -v '^ master$' | xargs git branch -d