Version control
The system that makes people brave enough to change code — because every previous state is still there.
A version control system stores the full history of changes, who made them and why. It solves three problems at once: being able to go back, being able to work in parallel without overwriting each other, and being able to answer why a particular line looks the way it does — often the most valuable of the three.
The lineage runs from lock-based systems where one file could be edited by one person at a time, through centralised ones like CVS and Subversion where the server owns the truth, to distributed ones like Git and Mercurial where every clone is a complete repository. That shift made branches cheap, which in turn shaped the whole working style of short-lived branches and review before merge.