Branch Cemetery
ELI5 — The Vibe Check
A branch cemetery is the graveyard of abandoned feature branches in your repo. Hundreds of them. Nobody knows what's on them. Nobody dares delete them. They just haunt git branch -a forever.
Real Talk
A branch cemetery is the accumulation of stale, merged, or abandoned branches in a repository. Beyond clutter, it complicates CI matrix runs, branch protection visibility, and git GUIs. Most teams prune automatically after 30–90 days of inactivity, but many repos skip this and accumulate thousands of dead branches.
When You'll Hear This
"Run branch cleanup — the branch cemetery is up to 800 refs." / "Half the CI flakes are from the branch cemetery."
Related Terms
Dead Branch
A dead branch is a branch nobody touches anymore. No commits in months, no open PR, no clear purpose. It's just... there. Safe to delete? Probably.
Git
Git is like a magical save system for your code. Every time you save (commit), it remembers exactly what changed.
Stale Branch
A stale branch is one that's fallen behind main so much that merging it back in is going to hurt. A branch goes stale in hours on fast-moving teams.
Zombie Branch
A zombie branch is a merged branch that's still lying around in your repo, refusing to stay dead. It got merged weeks ago. The PR is closed.