Meet GitHub
Get your code into the cloud
⏱ Est. ~4 min
01 · Read
So far, git has only been tracking your local files — everything lives on your computer. But what if your computer dies? What if you want to share your code with someone? That's where GitHub comes in.
💡 Picture thisgit is like a journal you keep to record every change. GitHub is like keeping a copy of that journal in a bank vault — backed up, safe, and shareable with others.
Key points
- GitHub stores your code online as a backup
- It lets others view, download, and contribute to your code
- Almost all open-source software lives on GitHub
- git works without GitHub, but GitHub needs git
02 · Quiz
What's the relationship between git and GitHub?
- They're the same thing
- GitHub is a programming language
- git can only be used with GitHub
- git tracks changes locally, GitHub puts them online
03 · Read
Three key commands connect your local git to GitHub. They're the bridge between your computer and the cloud.
Key points
- git push — upload your commits to GitHub
- git pull — fetch new commits from GitHub
- git clone — download an entire project from GitHub for the first time
04 · Match
Match each git command to what it does.
(This section is interactive — please enable JavaScript.)
05 · Quiz
You want to download someone else's project from GitHub onto your computer. Which command do you use?
- git clone
- git push
- git pull
- git download
Other lessons in this chapter
⚠ The full interactive experience needs JavaScript. Please enable it and reload.
※ This is an independent Traditional Chinese teaching project — not an official Anthropic product. Claude™ is a trademark of Anthropic, PBC.