How Git keeps every version of your project without filling your disk
git clone: what you really get when you copy a Git project
One git clone, and a Git project lands on a new laptop. Is that only today's files, or much more? What a clone really holds, and why it can open old versions with no internet.
-
1
First you put a copy of your repository on a server, a computer on the internet that stays on. Git calls a shared copy like this a remote, and yours is named origin.
-
2
At home, Rono runs
git clonewith the address of origin, and his laptop gets far more than the game as it is today.
The rest of this episode is for subscribers
Subscribe to read every premium episode. You can cancel when you want.
Paid yearly: $99 instead of $119.88