Learn GitHub by doing. Every topic is a set of commands or a workflow file you can read, copy, and run against a real repository — work through the lessons in order, from your first push to pull requests, collaboration, and automating checks with GitHub Actions.
GitHub hosts Git repositories — the Git basics come first.
Before you start
If you want to practice the exercises in this course on your computer:
git --version in a terminal; the Git course covers the setup.Getting Started with GitHub
Create your GitHub account and first repository, set up SSH keys so pushing just works, and connect new or existing projects to GitHub.
Branches & Pull Requests
Work the GitHub way — feature branches, pull requests for code review, the gh CLI to skip browser trips, and keeping your branch up to date with main.
Issues, Forks & Code Review
Collaborate on GitHub — track work with issues, contribute to projects you cannot push to via forks, give useful code reviews, and protect the main branch.
Automating with GitHub Actions
Run tests and checks automatically on every push with GitHub Actions — understand workflows, jobs, and steps, and read a real CI workflow file line by line.