To clear all your local branches (except `master`, `main` and current branch), run below at your git repo: