```sh git branch --list 'wildcard*' | xargs git branch -D ``` --list gets rid of the * and -> markers etc.
--list gets rid of the * and -> markers etc.