$ git clone <url>
done. 2 commits, all history.
MODULE 03 · 4 MIN READ
Clone — copy the project down
Our class repo lives at https://github.com/ssai/git-course-team. Cloning downloads the entire repository — every file and every commit ever made — and automatically nicknames the remote origin.
$ git clone https://github.com/ssai/git-course-team
Cloning into 'git-course-team'...
done. 2 commits, all history, the whole repo — now on your laptop.
remote nicknamed 'origin' automatically.
$ git remote -v
origin https://github.com/ssai/git-course-team (fetch)
origin https://github.com/ssai/git-course-team (push)
💻 YOUR LAPTOP
☁️ GITHUB · origin/main
🏆 THE TEAM — about/ on main
a tiny simulated laptop, wired up to a fake GitHub. clone to begin.
// try: git clone https://github.com/ssai/git-course-team, then: git remote -v