// The world's largest code platform.
GITHUB CHANGED HOW WE COLLABORATE ON CODE.
GitHub hosts over 100 million repositories. It's the home for open source, the platform for team collaboration, and the foundation for modern DevOps workflows with GitHub Actions.
WHY GITHUB?
GitHub provides free hosting for public repos, integrated CI/CD with Actions, project management tools, and the world's largest community of developers. Your code lives in the cloud, backed up, and accessible anywhere.
JOIN THE REVOLUTION.
From personal projects to enterprise teams, GitHub powers how we build software together. Fork repos, submit pull requests, automate workflows, and ship faster with the world's most popular code platform.
10 lessons. Complete GitHub control.
Understand GitHub, repos, and the ecosystem
BeginnerCreate, clone, and manage repositories
BeginnerWork with branches and pull requests
BeginnerTrack bugs and manage feature requests
BeginnerWrite READMEs and documentation
BeginnerAutomate CI/CD workflows
IntermediateContribute to open source projects
IntermediateWork with GitHub from terminal
IntermediateHost websites for free
IntermediateSecure your repositories
AdvancedGitHub was founded in 2008 and acquired by Microsoft in 2018 for $7.5 billion. Today it hosts over 100 million repositories and has over 83 million developers.
GitHub isn't just storage—it's a complete platform for collaborative development. Issues track bugs and features. Actions automate testing and deployment. Projects provide Kanban boards. Codespaces offer cloud development environments.
For open source, GitHub is the de facto standard. Popular projects like Linux, Kubernetes, React, and millions of others call GitHub home. Fork any repo, submit improvements, and your code can be part of something bigger.
The world's code lives on GitHub. Make it yours.
GitHub is a cloud-based platform for hosting and collaborating on Git repositories. While Git is the version control system, GitHub provides the infrastructure, tools, and community around it.
1. GitHub hosts _____ repositories.
Hint: Version control system
2. A _____ is a copy of someone else's repository.
Hint: F-word
3. Download a repo with git _____.
Hint: Copy command
4. Upload commits with git _____.
Hint: Opposite of pull
5. A project folder is called a _____.
Hint: Repo
1. Git
2. Fork
3. Clone
4. Push
5. Repository
Repositories can be public (visible to everyone) or private (only visible to you and collaborators you invite).
A README.md in your repository root is automatically displayed on GitHub. It's your project's documentation—explain what it does, how to install it, and how to contribute.
1. Public repos are visible to _____.
Hint: All people
2. -u flag in push sets the _____ branch.
Hint: Upstream
3. README files are written in _____.
Hint: md
1. Everyone
2. Upstream
3. Markdown
A Pull Request (PR) proposes your changes to a repository. It allows review, discussion, and approval before merging code into the main branch.
Branch protection rules prevent direct pushes to main. Require PR reviews, status checks, or specific approvers before merging.
1. A _____ Request proposes code changes.
Hint: P-R
2. Create branch with git checkout -b _____.
Hint: Branch name
3. Main branch protection prevents _____ pushes.
Hint: Straight to
1. Pull
2. branch-name
3. Direct
Issues track bugs, feature requests, and tasks. They provide a discussion thread attached to your repository, separate from code changes.
1. Issues track _____ and features.
Hint: Software errors
2. _____ labels categorize issues.
Hint: Also called labels
3. (closes #42) in commit message _____ issue 42.
Hint: Verb
1. Bugs
2. Tags
3. Closes
GitHub uses Markdown with extensions for tables, task lists, code blocks, and more.
1. README files use _____ format.
Hint: .md
2. Code blocks use three _____.
Hint: ` ` `
3. Task lists use [ ] with _____ or x.
Hint: Blank
1. Markdown
2. Backticks
3. Space
GitHub Actions automate workflows: test code, build packages, deploy to servers—all triggered by events like push or pull request.
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: npm test1. Actions are triggered by _____ events.
Hint: Like push
2. Actions run on _____-latest by default.
Hint: Linux distro
3. uses: keyword loads _____ from marketplace.
Hint: Reusable units
1. GitHub
2. Ubuntu
3. Actions
A fork is your personal copy of someone else's repository. You can experiment freely without affecting the original project.
1. A _____ is your copy of someone else's repo.
Hint: F-word
2. Add original as upstream with git remote add _____.
Hint: Direction
3. Sync fork with git fetch _____.
Hint: Same as before
1. Fork
2. Upstream
3. Upstream
gh is the official GitHub command-line tool. Create PRs, manage issues, and interact with GitHub without leaving your terminal.
1. The GitHub CLI command is _____.
Hint: Two letters
2. Create PR with gh _____ create.
Hint: Pull Request
3. Authenticate with gh auth _____.
Hint: Sign in
1. gh
2. Pr
3. Login
GitHub Pages hosts static websites directly from your repositories. Perfect for documentation, portfolios, and project sites—free hosting with your own subdomain.
1. GitHub Pages hosts _____ websites.
Hint: No backend
2. Add custom domain with _____ file.
Hint: Domain name file
3. Site URL format: username.github._____.
Hint: Not .com
1. Static
2. CNAME
3. io
GitHub provides security features to protect your code: vulnerability alerts, dependency scanning, and secret scanning.
Dependabot automatically creates PRs to update outdated dependencies. Enable it with a simple configuration file.
1. Dependabot updates _____ dependencies.
Hint: Old
2. Dependabot creates _____ requests.
Hint: PRs
3. Secret _____ scans for exposed keys.
Hint: Finding
1. Outdated
2. Pull
3. Scanning