Removing branches with the following name convention:
bugfix/
# use -D to force delete
git branch | grep "^ feature" | xargs git branch -d
feature/
# The space between ^ and feature is to include the indentation without the current branch which has a *
git branch | grep "^ feature" | xargs git branch -d