🔀Git Clone
Also known as Clone a Repository, Clone
Your own full copy of a repo, with all of its past.
Think of it like
Think of it like a copy of a whole book, notes and all. Now you have your own to read.
Example
Jack joins Emma's team. He clones the shop repo and has the full project, history included, in a few seconds.
Why it matters
Cloning is how anyone starts work on a shared project. Every clone is also a full backup.
Definition
Example code
console
$ git clone https://example.com/ada/shop.git
Cloning into 'shop'...
done.Common mistake
Key takeaways
- 1Full copy. Every file and every commit.
- 2Knows its source. The remote is saved as origin.
- 3First step. How you join a project.