What a Pull Request Is
Asking to merge.
A pull request is a request to merge one branch into another, on GitHub. Instead of merging on your own computer, you open a pull request, and your team can look at the changes, discuss them, and then merge them with a click.

- A request to merge a branch
- Opened on GitHub
- The team reviews, then merges
What a pull request shows
A pull request page has four main parts. A title and description, explaining what you did and why. The list of commits on your branch. The files changed, with every line added and removed, just like git diff. And a conversation, where people comment and approve.
Merging locally or with a pull request
Working alone, merging on your own computer is fine. But in a team, pull requests are the standard. Every change gets a second pair of eyes, there's a record of why it was made, and automatic checks can run before anything reaches main.
git merge on your computer
- Quick
- No review
- Fine when working alone
Pull request on GitHub
- Reviewed by the team
- Discussion recorded
- The team standard
Summary
A pull request asks to merge a branch, and lets the team review it first. Next, opening one, step by step.
Key takeaways- PR = request to merge
- Review before merging
- The team standard