Builder Foundations
GitHub
Put your project in the cloud
Git keeps save points on your computer. GitHub keeps a copy of them online. Together they make sure your work is safe, shareable, and ready to go live.
Git vs GitHub
Think of photos on your phone and a cloud photo backup. The phone takes the photos. The cloud keeps a copy, so you don't lose them if the phone breaks.
- Git is the program on your computer that makes commits
- GitHub is a website that stores copies of Git repositories
- You "push" commits from your computer up to GitHub
| Feature | Git | GitHub |
|---|---|---|
| What it is | A program | A website |
| Where it lives | Your computer | The cloud |
| Needs internet | No | Yes |
| Makes commits | Yes | No |
| Stores a backup | No | Yes |
| Share with others | No | Yes |
Why you need GitHub
- Backup: if your laptop dies, your project is still safe
- Sharing: send one link to a friend, teammate, or employer
- Deployment trigger: hosting services like Vercel watch your GitHub repo. When you push, they update your live site automatically
- AI builders: tools like Lovable sync your app to GitHub, so you own the code
What you'll learn
How to use this section
I recommend doing the pages in order:
- GitHub setup — create your account and your first repository
- Push your project — upload the commits you made in the Git lessons
Keep the repository from Your first commit handy. You'll push it to GitHub in this section.
Practice
Try these exercises to lock in what you just learned.
Quiz
Not startedWhat is the main difference between Git and GitHub?
What's next?
Let's create your free account. Go to GitHub setup.