---
glyph: branch
deck: ./version-control.deck.md
---

# Version control

I can explain how a repo keeps every version of my project, and how my agent and I commit, push, and pull so the work is saved, shared, and never lost.

## Why and when

Your project lives in a repo from Shape it to Demo Day, and you aren't the only one changing it: your agent commits to it, and your deploy reads from it. Each commit is a checkpoint you can go back to when a change breaks something, and the history tells the story of how the project grew. You need version control as soon as an agent changes your code. A throwaway experiment you finish in one sitting can skip it.

## Concepts

- Repos and history
- Commits
- Push and pull
- What stays out of a repo
