AI Learning Hub › Learn AI › Self-Paced Courses › GitHub Without the Jargon › Continue Learning from the Source

Sources

Continue Learning from the Source

GitHub documents itself well, and its documentation is kept current in a way that third-party tutorials are not. For anything in these modules that matters to a decision you are making, prefer the source over this page.

What was checked, and when. The sources for Modules 1 and 2 were verified on 18 September 2026, and the two public repositories were observed live on that date. The sources for Modules 3 to 10 were verified on 21 September 2026, and the commits, branches, comparisons, pull requests, merge, clone, pushes, and AI-assisted edit they describe were made and inspected on that date. The capstone’s pull request was opened and inspected a day later, on 22 September 2026, and it introduces no new sources. Where a module quotes a source, it reflects what that source said then.

GitHub’s own documentation

In the order the modules use them, from Module 1 through Module 10.

Other technical sources

How these modules were built

What was observed rather than documented, where this course’s wording departs from GitHub’s, and what was and was not done in a real repository to write these modules.

Three of Module 10’s ideas are this course’s, not GitHub’s

Staging is Git’s. GitHub’s About Git states that “git add stages a change” and that staging and committing separately “gives developers complete control over the history of their project.” That is a real mechanism with a real command, and the module teaches it as one.

Acceptance criteria are not. GitHub has no such feature, field, or interface category. The term is this course’s name for the ordinary practice of writing down what a change has to do before deciding whether it did it. Nothing in GitHub will check them for you.

Supervision is not either. GitHub offers reviews, checks, and required approvals — Module 6 covered them — but “supervision” here means the human decision those features exist to support, not any one of them.

Provenance is the one to be most careful about. Git records who made a commit, when, and what changed. It does not record who or what drafted the text, and this course does not claim GitHub has a standard representation for AI authorship. Module 10 says only that history carries what it was given, and that anything further has to come from somewhere else. It sets no disclosure rule, because that is a matter for individual projects and institutions rather than for a GitHub tutorial.

Product documentation versus observed behavior, and why Module 9 keeps them apart

Documentation says what a product can do. The observation says what happened once. Module 9 uses the first only for the capability claim — that Claude Code can work with git — and the second for everything about how the run actually went.

Observed with Claude Code in the disposable local practice repository on 21 September 2026, version 2.1.274: the agent read README.md before editing, used three tool actions, modified only README.md, ran no git commands, attempted nothing outside the task, and reported the file it changed. No permission prompt appeared and nothing was blocked. The model behind the run was not reliably visible in the interface and is therefore not recorded.

One run is not a pattern. The same tool given a different task, or a different tool given the same task, may behave differently. Nothing in the module should be read as “coding agents do X.” What generalizes is not the behavior but the method: inspect status, inspect the diff, check history, check the remote.

The restraint observed here came from the task, not from a control. The task forbade committing and pushing; nothing in the environment was configured to prevent them, and nothing tried. The module says so rather than implying the boundary was enforced.

How Module 8’s exercise was actually run, and what is environment-specific

Fetch and merge were used separately on purpose. GitHub documents git pull as the combined operation and most people use it. The module splits the two so a learner can see that one stage changes nothing visible — a pedagogical choice, stated as one on the page, not a suggestion that pull is wrong.

The clone happened over HTTPS using authentication that already existed on the machine. No token was created, no SSH key was generated, and no credential configuration was changed for this course. How any particular computer authenticates to GitHub is environment-specific, which is why the module shows no authentication step and teaches none. If your own clone asks for credentials, that is a question for your setup rather than something this course can answer generically.

Local paths are omitted deliberately. The exercise ran in a disposable scratch folder outside every real project. No filesystem path appears in the module, because a path on one machine teaches nothing on another.

The merge combined cleanly because Module 7 arranged for it to. The two edits touched different parts of the file. That is one observed case, consistent with GitHub’s “usually, changes are on different lines or in different files” — not a demonstration that merges do not conflict.

What Module 7 observed, and what it is careful not to claim

The “someone else” was us. Both changes in Module 7 — the branch commit and the newer commit on main — were made from the same personal account in a disposable repository, in order to reproduce the situation safely and on demand. No second person, second account, or collaborator was involved, and the module says so where the scenario is introduced rather than implying otherwise.

The absence of an Update branch control is an observation, not a rule. Our pull request did not offer one. GitHub’s documentation explains that availability depends on repository configuration; no setting was changed to make the button appear, and the module does not tell readers that the control will or will not be there for them.

Mergeability here is one observed case. These two particular edits touched different parts of the file and GitHub reported that they could be combined automatically. That supports the general claim that different changes are often not conflicting changes; it does not establish that any two edits on different lines will always merge cleanly, and the module hedges accordingly.

Automated activity appeared again. Opening the second pull request drew another Codex Review Summary comment and a reaction from the same already-connected integration, without anyone triggering it. Module 6 covers how to classify that kind of evidence; Module 7 simply notes that repository integrations may react when collaboration state changes, and does not suggest every repository behaves this way.

What we observed the Codex integration do, and what that is not

Observed in the disposable practice repository on 21 September 2026. Shortly after pull request #1 opened, an automated tool already connected to the account — chatgpt-codex-connector, labeled Bot — posted a Conversation comment headed Codex Review Summary, reporting Code Review — Completed for commit 7554b5d, triggered by “PR opened.” A thumbs-up reaction appeared on the pull request. Nothing in this course installed, configured, or triggered it.

What GitHub recorded alongside that. The Checks tab remained at 0. The Reviewers sidebar continued to read No reviews, before the merge and after it. The integration’s own phrase “Code Review Completed” is its report of its own activity; it is not GitHub’s formal review state and not a status check.

It behaved the same way every time, which is worth recording without over-reading. The same integration reacted to all four pull requests opened in this repository, unprompted. On the capstone’s pull request, observed on 22 September 2026, the whole cycle was visible: a comment appeared within a minute showing Code Review — Running against commit 94e7bdc, trigger “PR opened,” alongside a watching-face reaction; about two minutes later the same comment read Completed and the reaction had become a thumbs-up. Checks remained 0 and Reviewers remained No reviews throughout, exactly as on pull request #1.

Do not generalize this. It is one integration, on one account, across two dates in one small repository. Other tools report through other channels — some do post status checks, some do submit formal reviews. The transferable lesson is not about this product but about the question: where did GitHub record it?

Where Module 5’s wording departs from GitHub’s

“Code changes.” GitHub’s definition says a pull request “proposes merging code changes from one branch into another.” The change in this course is three lines of Markdown in a README, and nothing about the mechanism treats it differently. The module says changes rather than code changes, for the same reason Module 1 declined to describe a repository as a place for code alone.

“Compare branch” versus “head branch.” GitHub’s interface and quickstart say compare, and so does this course. Elsewhere in GitHub’s documentation, and in most tooling, the same branch is called the head branch. They are the same thing seen from two vocabularies; the second is deliberately withheld here because compare is the word actually printed on the screen the learner is looking at.

The order of operations. This course teaches branch first, proposal second, because that is what makes the distinction between the two visible. GitHub supports opening a pull request much earlier, including as a draft with little in it, and some teams work that way deliberately. Module 5 says so rather than presenting one sequence as the rule.

Two GitHub documents, two different recommendations about the default branch

Anyone who reads both sources behind Module 3 will hit an apparent contradiction, so it is stated here rather than left to be discovered.

The general editing guide says that if your current branch is the default branch, you should create a new branch for your commit and then create a pull request. The beginner repository tutorial tells the reader to keep the default option and commit directly to main.

These do not actually conflict. The first is describing how to work on a project that other people depend on; the second is walking a newcomer through a mechanism in a repository they just created for themselves. The variable is not the command, it is the stakes.

This course commits directly to main exactly once, in a private disposable repository that had one owner at the time and nothing depending on it, in order to teach edit → commit → history without also teaching branches. It is not offered as collaboration advice, and Module 4 exists to replace it. Do not read the exception as the rule.

Where this course’s wording differs from GitHub’s, and why

Four small gaps are worth naming rather than smoothing over.

“A repository is a project space on GitHub.” GitHub’s own sentence is “the most basic element of GitHub,” and its terminology table defines a remote as “a repository stored on GitHub, not on your computer” — so repositories plainly also exist off GitHub. The module teaches the GitHub-hosted case first because that is where a link takes you, and flags the wider truth rather than hiding it.

“A recorded snapshot of changes.” GitHub says a commit “records changes”; Git’s own model stores a complete snapshot of the project at each commit. Both framings are in wide use, including by GitHub, and the difference does not matter until you are reading a history closely. The module gives the beginner phrasing and names the tension in passing.

“A repository can contain a website, data, images, ordinary text files.” GitHub’s About repositories page says “your code, your files,” and does not enumerate kinds of content. The list in this module is an honest generalization from that phrase and from what repositories visibly contain — including the one observed here, whose three files are Markdown, HTML, and CSS — but it is not a sentence GitHub has written.

“Navigation controls” and “controls that begin an action.” This split is Module 2’s own teaching device, not a GitHub category. GitHub does not label its interface this way, and the boundary is genuinely arguable in places — the branch selector changes what you see, and starring changes your account rather than the project. The module sorts by a single test, whether the control does more than show you information that already exists, and says where that test is contestable.

What was and was not done in GitHub to build these modules

Modules 1 and 2 changed nothing. Three public repositories were opened in a signed-in browser session and only read. The one menu that was opened — the branch selector — was dismissed without selecting anything, which is the same thing Module 2 tells you it is safe to do.

Modules 3 and 4 changed one private practice repository, and nothing else. It was created on a personal account for this course alone. Module 3 added a README and recorded one commit on main. Module 4 created one branch, review-note, and recorded one commit on it. Module 5 opened one pull request from that branch into main, and Module 6 merged it. Module 7 created a second branch, resource-note, committed once on it, made one further commit on main to simulate the project moving on, and opened a second pull request that was left open. Module 8 cloned the repository to a disposable local folder, merged the newer main into the working branch locally, and pushed that branch — the only remote change it made. Module 9 made no change on GitHub at all: its AI-assisted edit stayed an uncommitted change on a local branch. Module 10 reviewed that change, committed it locally, and pushed the branch — creating remote ai-practice, and nothing else. The capstone then opened one pull request proposing that change into main, and deliberately left it open.

One thing happened out of order, and the page says so rather than tidying it away. Between Module 10 and the capstone, the change was briefly merged into main by way of a third pull request. Because the capstone needs an open proposal to review, that merge was reverted with an ordinary revert commit — no history was rewritten and nothing was force-pushed — restoring main to a tree byte-identical to its pre-merge state. The same commit was then re-proposed from a new branch, ai-practice-proposal, with the copy recording which commit it was taken from. The capstone explains this where it matters, in the step about checking whether the state has moved. Pull request #2 remains open and unmerged, and the merged third pull request is left in place rather than deleted, because deleting it would hide the correction.

That is the entire extent of it. No issue was filed, nothing was renamed or deleted; no branch was deleted; no reviewer was requested, no review submitted, and no comment left on any pull request; the default branch was not changed; nothing was starred, watched, or forked; no application was installed or authorized and no access token was created. One access change was made, and it is worth stating plainly. Before Module 8 could push, the credential already stored on the computer turned out to belong to a second personal account of the same author rather than to the account owning the practice repository. Rather than create a token or generate a key, that second account was granted collaborator access to the practice repository — the only repository setting altered anywhere in this course. It is still one person; no other human was given access, and no account, organization, or Stanford setting was touched. No Stanford repository was opened, read, or touched at any point.

All seven screenshots are cropped to content. The browser window, the address bar, the tab strip, and the signed-in account area — avatar, notifications, email address, and the account’s own navigation — are all outside the frame, and each image file was stripped of its metadata before being added to this site.