GitHub pull requests and reviews: check work before it joins the main code
Open a pull request, read the changes and the test results, and leave a review that helps the developer.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a draft essay with notes in the margin. The writer hands over the draft. A reader writes notes beside single lines. The reader then gives a verdict. The writer fixes the draft and hands it back.
The draft is the . A margin note is a line comment. The verdict is the review decision.
Tom, a tester at Daily List, a to-do list app, reads Leo's draft. Leo is a developer. Mei, the test lead, expects every change to say how someone would know it works.
What it is: Git records snapshots of tracked project files and available commit history. It runs on your own computer and works without the internet. GitHub is a different thing. It is a website that stores Git projects so a team can share them. A is a page on that website. It asks to bring one branch into another, and it shows the changes, the checks and the comments. A is the verdict you send. The Files changed tab shows the comparison; filters and collapsed content can affect what the reviewer sees. GitLab calls a similar page a merge request. That is the nearest neighbour.
Why it matters: The pull request is often the last human gate before a change joins the main code. If Tom only reads the conversation quickly, he misses a missing check. Lily then meets the bug on the test site, where the same gap costs more to fix.
PLAIN WORDS · 2 in this section
- snapshots
- records of how things stood at one moment
- github
- a web site that hosts code and runs checks
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB A draft essay passed to a fellow student with notes in the margin.
- Draft
- Margin
- Verdict
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The draft essay | The pull request |
| A note in the margin of one line | A line comment |
| The fellow student's final verdict | The review decision |
| Handing back the corrected draft | Pushing a fix to the same PR |
WHERE THIS PICTURE STOPS
- A draft is on paper, but a pull request lives on GitHub.
- A fellow student can mark a draft any way they like, but the repository rules may require reviews.
- A margin note can be lost, but a line comment stays in the conversation.
HOOK
Draft and notes.
TELL A FRIEND
A draft with notes.
OFTEN MIXED UP WITH Git with a shared copy: remotes, push, pull and fetch. That topic sends a branch to GitHub. This one asks the team to read it and agree before it joins main.
Sources & standards — 2 sources
- Market practice
Review proposed changes ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full operative review guidance: pending versus single comments, Comment/Approve/Request changes and permissions/rule enforcement.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
- Market practice
Protected branches ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full operative branch-protection guidance: bypass, expected app, success/skipped/neutral, stale approvals and merge conditions.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Market practice
Review proposed changes ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full operative review guidance: pending versus single comments, Comment/Approve/Request changes and permissions/rule enforcement.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
- Market practice
Protected branches ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full operative branch-protection guidance: bypass, expected app, success/skipped/neutral, stale approvals and merge conditions.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.