Strip away the jargon and a repository is a folder with better memory. It holds the codebase, and it also remembers what changed, who changed it, and how those changes connect to the project: the place where work happens without losing the thread. GitHub is the hosted home where many repositories live and get reviewed, and a README is the first note to read inside one.
Consider Google Drive for code. A client folder in Drive holds proposals, spreadsheets, notes, and a note telling a new person what they’re looking at. A repository is that same idea, built for software and agent work, with one upgrade: it remembers every change.
Why you care
When you use Claude Code or Codex, the repository is the workspace. Ask an agent to edit a file and you see exactly what changed: review it, fix it, or throw it away, while a branch keeps parallel work from colliding. An agent in the wrong repo is like a new hire sent to the wrong shared drive: smart, but answering confidently from the wrong files. For client work it creates accountability: ask “what did the agent change?” and get a real answer.