π How to Clone a Repository
Cloning a repo basically means:
βdownload the whole project, with all its history, to your computer.β
Itβs how you grab someone elseβs project, or sync your own GitHub repo to your machine.
βοΈ When do you clone?
- When you're starting work on a GitHub project
- When joining a team repo
- When switching computers
- When you want the full version history + branches
β
Cloning β downloading ZIP.
Cloning keeps the whole Git history, branches, and lets you commit + push.
π Example: Cloning a Repo (Git)
Output will appear here...
π Example: Cloning using GitHub Desktop
Output will appear here...
π₯ VS Code users:
You can open the folder and instantly get Git integration, source control, branch switching, etc.
πΈ Snapshots