What is a repository?
A repository, or repo, is the folder that holds a project's code. It also remembers every change ever made to it.
- In one line
- One project's code and history.
- Part of
- Git & GitHub: How code is saved, shared and reviewed.
The full Repository page
- An everyday picture of it, with no tech words
- The same idea in the words you will hear at work
- An animation of how it works, in 4 steps
- A cheat sheet of 3 commands to copy
- 6 phrases you will hear a team use, in plain English
Open Repository in the appFull basics lessons require a paid plan.
More in Git & GitHub11
How code is saved, shared and reviewed.
CommitA saved snapshot of changes.
BranchYour own lane for changes.
PushSend your commits to GitHub.
PullGet teammates' latest changes.
Pull requestAsk to merge your branch.
Code reviewTeammates check your change.
MergeCombine a branch into main.
Merge conflictTwo edits to the same lines.
RebaseReplay your work on latest main.
StashSet changes aside for later.
UndoBack out of a mistake safely.