LESSON 8

GitHub

Learning objective: Understand what GitHub adds on top of Git.

Understand

GitHub is a website for hosting Git repositories.

Git runs locally; GitHub stores your repos online so you can back them up, share them, and collaborate. It adds pull requests, issues, and a profile that acts as a portfolio.

Analogy: If Git is your camera, GitHub is the cloud album where you share the photos.

See It in Action

A repository's remote URL looks like:

https://github.com/your-name/your-repo
How it works: This is the online home of your project on GitHub, where others can view and collaborate.

Try It Yourself

  1. Create a free GitHub account.
  2. Explore a public repository.
  3. Find the green Code button and the commit history.

Quick Quiz

What does GitHub add on top of Git?

Challenge

Create a GitHub account and describe one thing GitHub offers beyond Git.

Success condition: You have a GitHub account and can name a GitHub-specific feature.