Repository navigation
Add a complete Git practice course with validated lesson states - #2
Merged
Merged
Conversation
dazzo31
marked this pull request as ready for review
November 7, 2026 13:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
GitUnstuck offered concept illustrations without a complete practice sequence. This adds optional setup and six lessons covering inspection, staging, history, branches, remotes and recovery, with predictions, independent tasks and exact reference returns.
For example, a learner stages Version 2, saves Version 3, and verifies that committing records Version 2 while Version 3 remains on disk. Shared
learning.jsdefinitions drive source rendering, the self-contained production build and real-Git outcome checks. Branch/remote diagrams reflect checked repository states; existing recovery routes remain available.Includes responsive lesson navigation, clipboard fallback, lesson-embedded optional visual tools, reference printing, honest build identity, and updated authoring documentation. The staging visual opens at the current lesson checkpoint; the branch explorer lives inside the branches lesson. The overview has one course path, and old visual deep links still work. See implementation evidence and plan.
Related issue
No linked issue. Implements the supplied learning improvement plan.
Type of change
Testing
npm cinpm test: 194 analyzer assertions, 33 recovery scenarios, all seven lesson fixtures/independent tasks, negative states, commit-parent/remote-reference checks, and 14 published setup executions across Git Bash and Windows PowerShell 5.1npm run build:checkandnpm run buildgit diff 7115b5d..HEAD --checkLocal environment: Windows, Node 26.12.1, Git 2.56.0.windows.4, Chromium 151.0.7922.34. Checked-in CI uses Ubuntu/Node 22. The original draft head
f281d45passed; CI for the latest refinement is tracked separately. Runtime changes were tested before committing; subsequent preparation changed documentation only. The evidence file identifies the actual dirty-build fingerprint tested locally.Checklist
recovery.jsunchangedRemaining validation
42 plan tasks pass. Actual beginner sessions and follow-up transfer checks remain
HUMAN_PENDING; prompts and an anonymous observation template are ready in the evidence file. Actual Git 2.23 runtime, a second browser engine and browser-menu zoom remain unverified. CSS zoom is narrower evidence, and automated checks do not establish teaching effectiveness or full accessibility conformance.Draft for review. No merge or deployment is requested; live release verification remains pending authorization.