A repository is a storage location for your project's code, files, and complete version history. Hosted on platforms like GitHub, a repo is where your code lives, how you collaborate, and how deployment platforms access your project. It's the home base of every vibe-coded project.
A repository is where your project lives. Think of it as a folder for your code that also remembers every change ever made.
| Local Repo | Remote Repo (GitHub) |
|---|---|
| Lives on your computer | Lives in the cloud |
| Only you can access it | Shareable with anyone |
| Works offline | Requires internet |
| Your working copy | Your backup and collaboration hub |
You typically have both — a local repo you work in and a remote repo on GitHub that stays in sync.
git clone <url> downloads it to your machinegit push sends your code to GitHub