AI Learning Hub › Learn AI › Self-Paced Courses › GitHub Without the Jargon › Review a Change Before You Merge It

Capstone

Review a Change Before You Merge It

Build an evidence record for a proposed change, check it against criteria you wrote first, and reach a decision you can explain from what you inspected.

By the end

  • Build an evidence record for a proposed change before deciding anything
  • Separate what a proposal claims from what the repository shows
  • Check a proposal against criteria written before you saw the result
  • Tell reviews, checks, comments, and mergeability apart
  • Confirm the state you are deciding about is still the state you reviewed
  • Reach a decision you can explain from evidence you actually inspected

Ten modules, thirty words, and one small change that traveled from a browser editor to a local computer, through an AI coding tool, and back to GitHub. This capstone introduces nothing new. It asks you to use all of it at once, on a single question.

Do not decide from the green button. Build the evidence first.

The branch is published. The decision is not.

At the end of Module 10 the work was on GitHub. An AI coding tool drafted two sentences in a local file; a person read the change, checked it against a written task, accepted it unchanged, staged it, committed it, and pushed the branch deliberately.

All of that happened, and the default branch still did not contain a word of it. Publishing a branch put the work where it could be seen. It did not put the work into the project.

Now there is an open pull request proposing exactly that last step. Your job is to decide whether the proposed change belongs in main, rather than to prove the AI was good or bad.

Your task

Before you decide anything, build an evidence record that answers nine questions. Each one has an answer you can go and look at.

  1. What is being proposed?
  2. Where did the change come from?
  3. What does the diff actually contain?
  4. What commit is being proposed?
  5. Does the branch still match the base it was reviewed against?
  6. What reviews, checks, or comments exist?
  7. Is GitHub mechanically able to merge it?
  8. Is any important evidence missing for this specific change?
  9. What is your decision?

Notice what is not on that list: “does the button look ready?” The button is the last thing to look at, and it answers none of the nine.

1. Confirm the proposal

Start with orientation, because everything after it depends on being sure what you are looking at. From the pull request page alone, name five things:

Read off the page

  • Which repository?
  • Which branch is the base?
  • Which branch is the compare?

And

  • What is the title?
  • What is the state?

Then the question that matters: which branch would change if this pull request were eventually merged?

Check your orientation
Repository
The disposable private practice repository used throughout this course.
Base
main — the destination.
Compare
ai-practice-proposal — the branch holding the change.
Title
Add AI practice guidance, numbered #4.
State
Open. Nothing has been combined.

main would change. That is the whole point of the base, and it is the most common thing to get backwards. The proposal does not change ai-practice-proposal — that branch already has the change. A merge would move it into main, which is what everyone visiting the repository sees first.

Module 5 put it in one line, and it is worth carrying into every review you ever do: base is the destination of the proposed merge.

Observed on GitHub

Verified: 22 September 2026.

Everything this capstone reports about the pull request — its number, state, tab counts, reviews, checks, comments, automated activity, and merge-box wording — was read from the live pull request and from the repository itself on that date, in the disposable private practice repository. The branches and commits it inspects were created on 21 September 2026 in Modules 8 to 10.

GitHub’s labels and layout change over time, and this is one small private repository. The numbers you see following along will differ from these. The method is the part that transfers, not the figures.

2. Check the commit

A pull request is a wrapper. Underneath it is history. Open the Commits tab, or ask Git the same question:

what is actually being proposed
$ git log --oneline main..HEAD
94e7bdc Add AI practice guidance

One commit. One message. Two questions follow.

Does the commit message describe the change? And does the commit history itself tell you that an AI coding tool drafted the two bullets?

What history records, and what it does not

The message describes the change accurately. “Add AI practice guidance” is what the diff does.

The history does not tell you an AI drafted it. Module 10 established why. A commit records who made it, when, and what changed — that is GitHub’s own list. How the text came to be written is not among the things Git is given, so it is not among the things Git can report.

In this pull request you know about the AI because of the description, and because you read Modules 9 and 10. Take those away and the commit looks like any other commit. That is not a defect in Git; it is the boundary of what a commit is.

3. Read the change itself

Open Files changed. This is the evidence everything else is commentary on.

the proposed diff — README.md
@@ -9,3 +9,8 @@
 ## Review note

 This change is on a branch for
 review.
+
+## AI practice
+
+- An AI coding tool can edit the
+  files in your local copy of a
+  repository.
+- Review every change it makes
+  before you commit.

Long lines are wrapped here to fit a narrow screen. In the file the two bullets are one line each, and Git counts five added lines in total.

Check six things against the page rather than against your memory of Module 10:

Does the diff match the change that was accepted?

What the diff shows

One file. Five additions. Zero deletions. The heading is ## AI practice. The two bullets read exactly as they did when they were accepted, and nothing above them changed — the Status and Review note sections are untouched, which is what zero deletions is telling you.

The zero matters more than the five. Additions tell you something arrived; deletions tell you whether something left. A change that adds five lines and quietly removes two is a different change, and the counts are where you notice.

Review the change that exists rather than the story you remember about it.

4. Compare with the acceptance criteria

Module 10 wrote these down before looking at the result. That order is the point: criteria invented after you see the output are not criteria, they are justifications. Mark each one.

Scope

Only README.md?

Existing content

Preserved?

Structure

One ## AI practice section?

Content

Exactly two bullets?

Meaning

Local file editing, and inspecting before committing?

Repository action

No unrelated project change carried along?

How the proposal scores

All six are met. One file; zero deletions; one heading; two bullets; the first bullet covers local editing and the second covers inspecting before committing; and nothing unrelated rides along — no configuration file, no second section, no stray whitespace.

Resist the urge to add a seventh criterion now. If the change had failed one, a new criterion would look like moving the goalposts; passing all six, a new criterion looks like searching for a reason. Either way the criteria have stopped doing their job, which was to be decided in advance.

5. What do you know about where the change came from?

Six things are true about this change:

Which of those six comes directly from Git commit metadata?

Where each fact actually lives

None of the six, in the form stated. That is a stronger answer than most people expect.

Git records that a commit exists, who recorded it, when, and what changed. From that you can infer the fifth item only partly — you can see that somebody committed, not that they chose to after a review. The drafting, the task, the independent check, and the decision to accept are all context held outside the commit.

Here that context survives in two places: the pull request description, and this course. In a real project it might live in a ticket, a project convention, a commit trailer somebody chose to add, or nowhere at all.

This course does not tell you to disclose AI involvement in a particular way, or at all. That is a question for your project, your institution, and the stakes of the work. What Module 10 established, and what this step is checking, is narrower and factual: if you want provenance preserved, something has to preserve it deliberately.

Provenance is context you may need to preserve deliberately; Git does not infer the whole story.

6. What evidence did GitHub record?

Module 6 taught the distinction this step depends on: a comment, a formal review, and a status check are three different mechanisms, and a heading on one of them does not convert it into another. Sort what is on the page.

Formal reviews

The Reviewers sidebar.

Observed: No reviews.

Checks

The Checks tab.

Observed: 0.

Conversation

Comments and automated activity.

Observed: One automated comment. No human comments.

Does any label or message sound stronger than what GitHub actually recorded?

Reading the evidence at face value

One item on the page sounds like a review, and is not one. Within a minute of the pull request opening, the same automated integration Module 6 met posted a comment headed Codex Review Summary, showing Code Review — Running against commit 94e7bdc, triggered by “PR opened.” Roughly two minutes later that comment updated itself to Completed, and the reaction the integration had left on the pull request changed from a watching face to a thumbs-up.

Through all of it the Checks tab stayed at 0 and the Reviewers sidebar stayed at No reviews. So something called a code review ran, announced that it had finished, and GitHub filed the whole episode as a Conversation comment — because that is what it is. The integration reported its own activity accurately; placing that report in the right category is the reader’s job.

And there is a second label worth catching, this one written by GitHub rather than by a bot. Across the top of the page sits a pill reading Ready to merge, with a green check. Nobody reviewed anything. No check ran. That pill is summarizing the same narrow fact the merge box states at length in the next step — that nothing mechanical is in the way — in three words that sound like a verdict.

Zero checks is not a passing result. It means nobody configured any automated checks in this repository, so none ran. An absence of evidence is being displayed, and it is easy to read a quiet tab as a calm one.

No reviews means no reviews. Not “no objections.” Nobody has submitted Comment, Approve, or Request changes.

Three mechanisms, three answers, and the useful habit is always the same question: where did GitHub record it?

7. “Can merge” is not the final question

Scroll to the merge box. On this pull request it showed a green check, the heading No conflicts with base branch, the line “Merging can be performed automatically,” and a green Merge pull request button. That is the long form of the Ready to merge pill at the top of the page.

Read the two sentences slowly, because they are more careful than the button they sit above. What does that establish, and what does it not?

The narrow claim inside a green box

What it establishes: Git can combine the compare branch with the base branch, in their currently observed states, without asking a human to choose between conflicting lines. That is a real and useful fact. Module 7 showed what its absence looks like.

What it does not establish: that the writing is any good; that the change is correct; that it complies with any policy; that anyone competent has read it; or that the evidence gathered is proportionate to the stakes. GitHub is not claiming any of those things — its sentence is about merging, and it is precise.

The color is doing rhetorical work the words are not. Green reads as approval; the sentence says no conflicts. And Ready to merge compresses even that into a phrase that sounds like a judgment about the change, when it is a statement about the absence of obstacles. Neither is GitHub misleading you — the detailed wording is right there. It is just quieter than the button.

Mergeability is evidence about combination rather than a verdict about quality.

8. Check what changed since the supervision

This is the step people skip, and it is the one that separates a review from a memory.

Module 10 inspected a change and accepted it. That acceptance applied to a particular state: one commit, one file, five added lines, on a branch that was level with main. Before acting on that decision, confirm the state has not moved underneath it.

is this still what was reviewed?
$ git fetch origin
$ git log --oneline -1 \
    origin/ai-practice-proposal
94e7bdc Add AI practice guidance

$ git rev-list --left-right \
    --count origin/main...HEAD
0	1

Four things to confirm: the latest commit is the one that was accepted; no newer commits have appeared on the branch; the branch is not behind the base; and the diff still contains only the accepted change.

Read the two numbers the way Module 7 taught them. 0 commits on main that the branch lacks — not behind. 1 commit on the branch that main lacks — one ahead, and it is the expected one.

This course is a worked example of exactly that. The repository changed after Module 10’s supervision step, so the proposal you are reviewing had to be recreated on a fresh branch rather than carried across unchanged. Which is the whole reason this step exists: an earlier decision cannot simply be assumed to apply to a different repository state.

The change under review is still the accepted one — but it is the checks above that establish it, not anyone’s memory of Module 10. Follow along in a repository of your own and your history will look different again, which is the same lesson from the other side: describe the state in front of you.

A review decision applies to a particular state. If the state changes, the evidence may need to be refreshed.

Make the decision

You now have an evidence record. There are three honest places to land, and none of them is a grade.

Ready to merge

The observed evidence is sufficient for this change, in this context.

Needs revision

The proposed content itself should change before it goes anywhere.

Needs more evidence

The content may well be fine, but deciding responsibly requires something you do not have.

Choose one, and say three things out loud or on paper:

“Needs more evidence” is not a failure to decide. It is a decision, and in higher-stakes work it is frequently the right one. Naming the missing evidence is the useful part.

One possible review

Decision: ready to merge, in this disposable exercise.

The reasoning, tied to what was actually observed:

  • the proposal matches its own title and description — no gap between what it claims and what it does;
  • the branch carries the reviewed change and nothing else, one commit, with a message that describes it;
  • the diff meets all six acceptance criteria, which were written before the result existed;
  • one file, five additions, zero deletions — nothing unrelated came along;
  • the branch is not stale: level with main, and the commit is the accepted one;
  • no mechanical conflict stands in the way; and
  • nothing observed suggests a further piece of evidence is required for an intentionally low-stakes practice change in a repository nothing depends on.

Now the qualification, which matters more than the conclusion. That same evidence set — no formal reviews, no checks, one person deciding, an automated comment of uncertain weight — would not be sufficient for:

  • production software;
  • anything security-sensitive;
  • consequential legal work;
  • a repository with required reviews or required checks; or
  • a project whose policies you have not read.

What made the evidence sufficient here was the stakes, not the checklist. The checklist did not change; the consequences did.

The decision is contextual, and the evidence should match the stakes.

Why the answer is not “because AI wrote it”

Two shortcuts are available, and the evidence supports neither.

Shortcut one

“An AI wrote it, so reject it.”

Nothing in the diff, the history, the criteria, or the repository state supports rejection. The objection is to the author, not to the change.

Shortcut two

“An AI wrote it, the summary looked right, so merge it.”

Also unsupported. The summary was a report. Module 9 checked it against the diff precisely because a report is not evidence of itself.

The decision above used eight things: the original task, the acceptance criteria, the diff, the commit history, the repository state, the reviews and checks and comments, mergeability, and the provenance context. Authorship was one input among those, and it was not decisive in either direction. Authorship is context, and the decision still depends on the change and the evidence around it.

The capstone ends before the button

Module 6 already merged a pull request, confirmed it, and verified the result on the base branch afterwards. You have seen the mechanism, and you could carry it out now.

This capstone is testing something else: forming the decision before executing it. That skill is invisible once the merge happens, because afterwards every decision looks like the one that was made.

So it stops here, deliberately. The pull request stays open. main stays as it is. The branch stays separate, holding a change that is ready and not yet part of the project. Being ready to act is not the same as needing to act immediately.

Where everything stands

main

The default branch. What a visitor sees first. Does not contain the AI practice section.

ai-practice-proposal

The published branch under review. Contains the reviewed AI practice section, one commit ahead of main.

The capstone pull request

Open. Proposes ai-practice-proposal into main. Not merged.

The other open pull request

A separate proposal left open back in Module 7. Unrelated to this decision, and a good reminder that a repository can hold more than one open question at a time.

The whole workflow

Every module, as one sequence:

Understand
Repository, files, history.
Change
Edit, then commit.
Separate
Put the work on a branch.
Propose
Open a pull request.
Review
Diff, commits, comments, checks.
Coordinate
Ahead, behind, conflicts.
Move
Local and remote; fetch, merge, push.
Delegate
An AI coding tool edits local files.
Supervise
Acceptance criteria, staging, commit, publication.
Decide
Build the evidence before the merge.

Explain the state without jargon

The last exercise in the course uses none of the vocabulary you learned. A colleague who has never opened GitHub asks you:

“The AI finished the change. Is it live?”

Answer in plain language, describing the actual state of this repository. You may not use the words commit, branch, push, or merge.

One possible answer

“Not yet. The AI wrote the text on my computer, and I read it before doing anything with it — it was fine, so I kept it as written. I’ve saved it as a numbered step in the project’s record, and put a copy up on the shared site so other people can look at it.

“But it’s sitting off to one side. The main version of the project still doesn’t have it. I’ve put in a request asking for it to be added, and that request is still open — nobody has accepted it. Nothing is live just because the AI finished, or because I put the work somewhere visible. It becomes part of the project when someone decides it should.”

Why that answer works: it separates six things that beginners routinely collapse into one — the AI finishing, a person accepting, the change being recorded, the work being published, the request existing, and the project actually changing. Only the first five have happened.

If you can say that without the vocabulary, you understand the workflow. If you can only say it with the vocabulary, you may still be memorizing the words.

You finished GitHub Without the Jargon

You can now open an unfamiliar repository and ask concrete questions with findable answers:

You do not need to memorize every control GitHub puts on a page. Controls move and labels get rewritten; this course was written against an interface that will have drifted by the time you read it. What does not move is the habit underneath: work out what state you are looking at before you act on it.

That habit is worth more than the vocabulary, and it is the part that transfers — to a repository you have never seen, to a tool this course never mentions, and to work that matters a great deal more than a practice README.

Know the state. Inspect the change. Decide deliberately.