Sometimes, we realized that we have many branches that we don’t need anymore. It can be a tedious task delete them one by one.
In order to avoid that, we can automate this task. Using this script, you just need to specify which branches you want to preserve, run it and that is all. Your ugly/unfriendly branches should been gone.