EN
Fundamentals

Repos and Version Control Explained

Concepts2 min readUpdated June 12, 2026

In short

A repository (or "repo") is your project folder once it is being tracked by a version control tool, and version control is the system that records every change so you can always go back. Put simply, version control is a labelled, unlimited undo history for your whole project, and the repo is the project plus that history. This is the foundation everything else builds on: backups, collaboration and deployment all start with a repo under version control.

What version control gives you

Version control turns a folder of files into something you can experiment with fearlessly. Every meaningful change is saved as a snapshot you can return to, so a bad edit is never permanent. It also records who changed what and why, which becomes essential the moment more than one person touches the project.

Local repo vs remote repo

Your repo lives on your computer (the local repo) and usually has a copy online (the remote repo), most often on GitHub. You work locally and "push" your saved changes up to the remote to back them up and share them. The two stay in sync as you push and pull changes.

Why this matters for shipping

A repo is not just for safety, it is the thing hosting platforms connect to. When your project is a repo on GitHub, a host like Vercel can watch it and redeploy your live site automatically every time you push. So a clean repo under version control is the on-ramp to actually shipping your work.

Common beginner confusions

A repo can feel like a mysterious special folder, but it is really just your normal project folder with a hidden record of changes attached. You still edit files the same way. People also assume a repo automatically means everything is public or backed up; neither is true until you push to a remote and choose its visibility, and a brand new business repo should default to private. One more point worth internalising early: the history is only as useful as your commits. If you commit rarely with vague messages, the safety net is weak; if you commit often with clear messages, you can step back to any moment with confidence. That single habit is what turns version control from a chore into a genuine superpower.

Frequently asked questions

Next step

Ready to put AI to work as a real workflow?

Start with the foundations course, keep your progress locally and sync everything to your free account whenever you like.