Final Assessment and Capstone
4 learning objectives · 4 key terms · 6 commands · 2 diagrams · 10 quiz questions
Final Assessment and Capstone
Professional PracticeWhat you'll be able to do
- Check your understanding across every module of the course
- Revisit the topics where your answers went wrong
- Plan and execute a capstone project that uses the whole workflow
- Earn the course-completion state
The idea, in plain language
This assessment covers all fifteen modules. Answer the questions below without looking back at the lessons; every answer shows an explanation, and a wrong answer is the most useful thing that can happen here because it tells you exactly which module to re-read. You need 80% to pass, and your answers are saved so you can close the tab and come back.
The capstone brief that follows is the practical half. It asks for one repository that demonstrates the whole arc of the course: a clean history with meaningful commits, work delivered through reviewed pull requests, at least one conflict resolved deliberately, automation that gates the merge, a security posture that keeps credentials out of the repository, and a versioned release that a stranger could install. The marking guide is simply what a maintainer would look for, so treat the repository as the deliverable rather than the exercise.
When both parts are done — every lesson marked complete in the curriculum and at least 80% on this assessment — the completion state appears at the top of this lesson.
Key terms
- Capstone
- The final project that demonstrates every skill the course taught.
- Pass mark
- 80% correct on this assessment.
- Completion state
- Shown once every lesson is marked complete and the assessment is passed.
- Marking guide
- The maintainer’s-eye checklist applied to the capstone repository.
How it works, step by step
- 1Take the assessment once, honestly
No notes. The explanations are the teaching material — a wrong answer you understand is worth more than a right answer you guessed.
- 2Re-read the modules your wrong answers pointed at
Each question maps to one module by its topic. Mark the lesson complete as you go, which is also what unlocks the completion state.
- 3Read the capstone brief and plan it
Write the issue list before writing any code: setup and conventions, the feature, the pipeline, the security pass, and the release.
- 4Build the capstone through reviewed pull requests
One pull request per issue, each with a description and a linked issue. No direct commits to main.
- 5Prove the gates work
Break a test and confirm the merge is blocked; attempt a direct push to main and confirm it is refused; attempt a push containing a credential-shaped string and confirm push protection blocks it.
- 6Release, then write the retrospective
Tag v1.0.0, publish the release with notes, and add a short section to the README listing what you would do differently — that reflection is what turns a project into learning.
Commands worth memorising
Every block below is copy-ready — use the Copy button, then paste it into your terminal. Expected output is shown underneath so you know what “working” looks like.
git log --oneline --graph --all
* 9d2f4c1 (HEAD -> main, tag: v1.0.0) Merge pull request #4 |\ | * 8c1d2ab feat: add release workflow |/ * 4f1c2ab feat: add landing page
A capstone history should show reviewed merges and one resolved conflict, not a single enormous commit.
gh pr list --state merged --limit 20
4 feat: add release workflow merged 3 feat: add CI pipeline merged 2 feat: add footer merged
Merged pull requests with linked issues are the evidence that the workflow was followed.
gh api repos/:owner/:repo/branches/main/protection --jq '.required_status_checks.contexts'
["test"]
If this returns nothing, main is not gated — and the check name must match the job name exactly.
gh run list --limit 10 --json displayTitle,conclusion --jq '.[] | "\(.conclusion) \(.displayTitle)"'
success feat: add release workflow success feat: add CI pipeline
Every commit in the capstone should have a run behind it.
git ls-files | grep -E "(^|/)\.env$|\.pem$|\.keyquot;
(no output — good)
Together with secret scanning enabled, this is the security evidence for the capstone.
gh release list --limit 3
v1.0.0 Latest First complete version an hour ago
A tagged release with notes is what makes the capstone installable by a stranger.
Workflow diagrams
| Requirement | From module | Evidence in the repository |
|---|---|---|
| Clean, meaningful commit history | 2, 14 | git log --oneline reads as a story |
| Work delivered by reviewed pull requests | 4, 5 | Merged pull requests with descriptions and linked issues |
| A conflict resolved deliberately | 4 | A merge commit after a resolved conflict |
| Automated checks that gate merging | 10, 11 | A workflow plus branch protection requiring its check |
| No credentials in the repository | 11 | Secret scanning enabled, .gitignore covering .env, secrets in settings |
| A versioned release a stranger can install | 12 | Annotated tag, release page, generated notes, artefact attached |
| Documentation that answers questions before they are asked | 14 | README, CONTRIBUTING.md, LICENSE, CHANGELOG.md, templates |
Every row is something a maintainer would check. Evidence means it is visible in the repository, not just claimed.
- Every requirement is evidenced by something visible in the repository history or settings.
- If a requirement cannot be seen, it does not count — that is exactly how a reviewer will judge it.
Progress is stored in your browser, so the state survives a reload on this device.
- Use the Mark this lesson complete button on each lesson, or the tick in the curriculum menu.
- Answer this assessment; the score is derived from your saved answers.
- When both conditions hold, the completion state appears above the quiz.
Worked example
A capstone repository tree, which is also a reasonable template for any professional project.
.github/ CODEOWNERS pull_request_template.md ISSUE_TEMPLATE/bug_report.yml workflows/ci.yml workflows/release.yml src/ app.js tests/ app.test.js CONTRIBUTING.md CHANGELOG.md LICENSE README.md .env.example .gitignore
Clone it, read README.md, run the tests, follow CONTRIBUTING.md to propose a change, and install the released version — no questions needed.
Where you'll use it
Common mistakes
- Skipping questions to reach the capstone quickly — the explanations are the point.
- Claiming requirements in the README without them existing in history or settings.
- Building the capstone as one enormous commit, which demonstrates none of the workflow skills.
- Leaving branch protection unproven, so nobody can tell it works.
- Treating 79% as close enough instead of re-reading the modules the questions pointed at.
Best practices
- Take the assessment honestly and read every explanation, right or wrong.
- Plan the capstone as issues before writing code.
- Deliver it through reviewed pull requests, one issue at a time.
- Prove the gates by deliberately triggering and fixing a failure.
- Finish with a tagged release and a short retrospective in the README.
Hands-on exercise
Capstone: a production-ready repository
One repository that demonstrates the whole course. The brief, marking guide and evidence table are below and above.
- Create a repository with a description, a license, a README and a .gitignore covering .env before the first commit.
- Enable CI in .github/workflows/ that runs your tests on push and pull request to main.
- Enable branch protection on main requiring one approval, the CI check to pass, and conversation resolution.
- File three issues and deliver each through its own branch and pull request with a linked issue and a filled template.
- Deliberately create and resolve one merge conflict, and record in the pull request what you chose and why.
- Enable secret scanning with push protection and Dependabot, and confirm no credential is tracked.
- Tag v1.0.0, publish the release with generated notes and an attached artefact, then add a retrospective section to the README.
- Break a test, confirm the merge is blocked, and fix it — then take a screenshot or note in the README that the gate works.
💡 Hint: If you are short on time, a static site or a small CLI is enough: the workflow is the deliverable, not the product. Depth of process beats breadth of features.
Done when: A stranger can clone the repository, run the tests, follow the contribution process, see a protected main branch with green checks, and install your v1.0.0 release.
Checkpoint quiz
0 of 10 answered · 0 correct
- Multiple choiceQ1
Which sequence correctly moves a change from your editor to GitHub?
- Multiple choiceQ2
Your teammate pushes a commit to main. You have three local commits on your feature branch. What is the cleanest way to get current before opening a pull request?
- TroubleshootingQ3
A workflow fails on every pull request with "permission denied" when publishing a package. Tests pass. What should you check first?
- Multiple choiceQ4
Which file makes a specific team automatically requested to review changes under /api/?
- Multiple choiceQ5
Which command rewrites history and therefore requires a force-push afterwards?
- True or falseQ6
True or false: a commit that undoes an earlier one on main should be made with git reset followed by a force-push.
- Command outputQ7
What does this status mean, and what should you do?
## main...origin/main
- TroubleshootingQ8
You committed a database password and pushed it two hours ago. Order the response correctly.
- Multiple choiceQ9
A pull request is approved and all checks pass. Which merge method gives main exactly one commit for the whole change?
- Multiple choiceQ10
What must be true before you can merge into a repository you forked?
Course completion
Lessons finished: 0/24 · course progress 0%
Final assessment: 0/10 correct (80% needed to pass)
Finish every lesson and score at least 80% on the final assessment below to earn the completion state.
Module summary
- The assessment covers all fifteen modules; 80% is the pass mark and every answer is explained.
- Your answers and lesson ticks are stored in your browser, so progress survives a reload.
- The capstone is one production-ready repository: reviewed pull requests, a proven CI gate, no secrets, and a tagged release.
- Evidence has to be visible in history or settings — a claim in the README does not count.
- Complete every lesson and pass the assessment to unlock the course-completion state.
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
Practice what you learned
Put the GitHub course to work: open one of the company-wise repositories and follow the workflow you just learned, branch to release.