how to delete branchs locally on terminal in bulk code example
Example: delete branches in bulk git
Type in git branch | grep "<pattern>" for a preview of the branches that will be deleted.
Type in git branch | grep "<pattern>" | xargs git branch -D.