Collaborate on shared codebases through pull requests the way real teams do — wiring up remotes, forking, opening well-scoped PRs, and running rigorous code review. You will finish able to fork a project, keep it in sync, push a branch, open a reviewable pull request, and give and act on review feedback with confidence.
Watch the free preview
Remotes and the distributed model — free to watch, no account needed.
What you'll learn
- Collaborate through pull requests from branch to merge on a shared GitHub repository
- Configure remotes and move commits with clone, fetch, push and pull
- Fork a repository and keep the fork in sync with its upstream
- Open a well-scoped pull request with a clear description and linked issue
- Review code by leaving comments, requesting changes and approving under branch protection
Syllabus
Remotes — How Your Repo Talks to GitHub
Remotes and the distributed modelFree preview
Clone, fetch, push and pull
Forking and Keeping a Fork in Sync
Forking and the contributor workflow
Keeping a fork in sync with upstream
Pull Requests — Proposing Change
Opening a pull request
Anatomy of a great pull request
Code Review and Merge Controls
Reviewing code — comments, requests and approvals
Branch protection and merge strategies
Lab — 10 Exercises & Solutions
Exercises 1–5
Exercises 6–10