https://rhuan.com.br/site/delete-all-local-untracked-branches-from-git.htm
Delete all local untracked branches from GIT