git branch --show-current
git commit --allow-empty -m "Init branch"
# Local
git branch -d branch_name
# Remote
git push origin --delete branch_name
# Deletes all branches except "master", "main"
git for-each-ref --format '%(refname:short)' refs/heads | grep -v "master\|main\|develop\|production" | xargs git branch -D