Searching protocol for "main branch"
Merge to main, delete branches.
Sync branches with main
Keep feature branches aligned with main.
Always work on a feature or bug branch.
Clean up stale Git branches.
Safely delete non-main branches.
Create branches correctly from main.
Create new git branch from main
Rebase current branch onto main
Keep git worktrees in sync.
Safely sync local main with origin/main
Safely prune non-main branches, one-by-one.