Repository
A project folder tracked by Git that contains all your code, files, and their complete change history.
What It Is
A repository (often shortened to “repo”) is a folder on your computer or on GitHub that Git is tracking. It contains all of your project’s files plus a hidden .git folder that stores the entire history of every change ever made. When someone says “clone the repo,” they mean download a copy of that project and its history to your machine. Repositories can be public (anyone can see the code) or private (only people you invite can access it). A single repository typically contains one project, though monorepo setups store multiple related projects in one repository.
Why It Matters
Repositories are how modern software projects are organized and shared. When you start a new project, you create a repository. When you deploy to Vercel, you point it at a repository. When you want to use an open-source tool, you clone its repository. Understanding what a repository is and how it relates to Git and GitHub is foundational knowledge for any builder. It is the container that holds your work and connects it to the rest of your toolchain.
In Practice
To start a new project, you run “git init” in a folder to create a local repository, then push it to GitHub to create a remote copy. When collaborating or using templates, you “clone” an existing repository to get a local copy. Your deployment platform watches the repository for changes and rebuilds your site when it detects a new commit on the main branch.