Eliminar todas las ramas 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