Deleting Git Branches in batches
First of all, this only works if you name your branches a certain way. When I pick up an issue from Bitbucket, I branch out using the number of the issue. If the issue # was 27, I would create a branch named issue-27 on my local.