LESSON 10
Pull Requests
Learning objective: Propose and review changes with pull requests.
Understand
A pull request (PR) proposes merging one branch into another.
On GitHub, you push a branch and open a pull request to propose your changes. Teammates review, comment, and approve before merging. PRs are how professional teams keep quality high.
Analogy: A pull request is like submitting an edit for review before it is published.
See It in Action
The typical PR flow:
1. Push a feature branch
2. Open a Pull Request on GitHub
3. Review + discuss
4. MergeHow it works: Each step adds a checkpoint so changes are reviewed before they reach the main branch.
Try It Yourself
- Push a branch to GitHub.
- Open a pull request for it.
- Read the diff GitHub shows.
Quick Quiz
What is a pull request for?
Challenge
Open a pull request from a feature branch on GitHub.
Success condition: Your pull request shows the proposed changes and can be merged.
+10 XP
Lesson Complete
You answered correctly and completed the required practice. Your progress has been saved on this device.
Continue to next lesson →