L05 · New project · 4 min

What is a repo? Git and checkpoints

In one sentence

A repo (repository) is your project folder plus its full history: Git records every checkpoint, so you can see what changed and go back to any version.

Think of it like this

It's a folder with a memory, like the version history in Google Docs, but for a whole folder. Every checkpoint has a note saying what changed.

How it works

DefinitionGitThe tool that keeps your repo's memory: it records every commit on your computer.Open in the glossary → is the tool that keeps the memory. Each checkpoint is a DefinitioncommitA checkpoint: a snapshot of what changed, with a short note. You can return to any commit.Open in the glossary →: a snapshot of what changed, with a short message such as “Add the contact form”.

The memory lives in a hidden folder called .git inside your project. Never delete it: it's the history itself.

Because every commit is kept, a mistake is never final. Your agent can show you the history, compare versions, or return to the last one that worked.

  1. IdeaWhat and who for
  2. SpecAgreed in SPEC.md
  3. PlanSmall, checkable tasks
  4. BuildOne step at a time
  5. CheckTests and a Preview
  6. PublishOnly when you say so
FIG. 1 · ↺ Every new feature goes around the loop again

What it looks like in your project

Your agent commits after every working step, with a clear message in your language. Ask it to show you the commits any time: you'll see your project's story, one line per step.

Copy for your agent

Show me my project's commits and explain each one in a sentence.

Quick check · 1 question

What is a commit?

Go deeper

Next lessonLocal and remote: your computer and GitHub

Last reviewed Nov 8, 2026