Practical Projects
6 learning objectives · 7 key terms · 5 commands · 2 diagrams · 5 quiz questions
Practical Projects
Professional PracticeWhat you'll be able to do
- Apply the module 1-14 material to six progressively harder projects
- Build a public profile that reflects real work
- Practise the branch → pull request → review → merge loop on your own repository
- Run a collaborative project using issues, boards and reviews
- Add a CI pipeline and make it a required check
- Ship a production-ready repository with protection, security scanning and a versioned release
The idea, in plain language
These six projects exist to turn knowledge into habit. Each one deliberately reuses commands from earlier modules, and each adds exactly one new layer: a profile README for presentation, a small web project for the core loop, a team simulation for collaboration, a pipeline for automation, a real open-source contribution for working with other people's standards, and finally a production-ready repository that combines every convention from Module 14.
Do them in order. The value is cumulative: by project 4 you will be writing workflow files without needing to look up the syntax, by project 5 you will be rebasing onto somebody else's main branch without hesitating, and by project 6 the repository conventions will be something you add on day one rather than retrofit later. Keep each project in its own repository so nothing is tangled together and your profile stays readable.
Treat every project as a real piece of work rather than an exercise: write commit messages you would defend, open a pull request with a description a stranger could review, and let CI check your work. The habits you build here are the ones that transfer directly to a paid job.
Key terms
- Profile README
- A repository named exactly like your username whose README renders on your GitHub profile page.
- Capstone
- A final project that integrates everything from the course.
- Smoke test
- A quick post-deploy check that the app still responds.
- Required status check
- A CI job that branch protection insists on before merging.
- CODEOWNERS
- Path-to-owner mapping that requests the right reviewers automatically.
- Versioned release
- An annotated tag plus a release page describing what shipped.
- Merge conflict drill
- Causing and resolving a conflict on purpose to build confidence.
How it works, step by step
- 1Set up one repository per project
Small, focused repositories are easier to present and easier to reason about. Give each one a description, a README and a license.
start cleanbashgh repo create profile-readme --public --description "My GitHub profile README" --clone
- 2Follow the workflow every time
Branch, commit in small steps, push, open a pull request, let checks run, review your own diff, merge, delete the branch. Repetition is the point.
the loopbashgit switch -c feature/hello-world git commit -m "feat: add hello world page" git push -u origin feature/hello-world gh pr create --fill --base main
- 3Write the README as if a stranger will read it
What the project is, how to run it, what you learned, and a screenshot or a command worth copying. This is also the practice that makes project 6 easy.
- 4Simulate a teammate when the project calls for it
Project 3 needs two people. If you are working alone, create a second branch, change the same lines, and resolve the conflict deliberately — the exercise works either way.
conflict drillbashgit switch -c feature/a && printf 'line = "A"\n' > shared.txt && git commit -am "feat: A" git switch main && printf 'line = "B"\n' > shared.txt && git commit -am "feat: B" git merge feature/a # conflict, on purpose
- 5Add automation at project 4 and keep it
Once CI exists, every later project should have it. Reuse the workflow file from project 4 as a starting point rather than writing a new one.
reusebashmkdir -p .github/workflows && cp ../project-4/.github/workflows/ci.yml .github/workflows/
- 6Finish with a release, not a folder of commits
Tag the finished state, write or generate release notes, and add a screenshot to the README. A tagged release is what makes a project look finished.
finish properlybashgit tag -a v1.0.0 -m "v1.0.0 — first complete version" git push origin v1.0.0 gh release create v1.0.0 --generate-notes
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.
gh repo create <your-username> --public --description "GitHub profile README" --clone
The repository name must match your username exactly for the README to appear on your profile.
git switch -c feature/hello git commit -am "feat: add hello world page" git push -u origin feature/hello gh pr create --fill --base main gh pr merge --squash --delete-branch
--fill takes the title and body from your commits, which keeps the loop quick on small personal projects.
git switch -c feature/a printf 'line = "A"\n' > shared.txt git add shared.txt && git commit -m "feat: A" git switch main printf 'line = "B"\n' > shared.txt git add shared.txt && git commit -m "feat: B" git merge feature/a
CONFLICT (content): Merge conflict in shared.txt Automatic merge failed; fix conflicts and then commit the result.
Project 3 asks for this on purpose — resolving a conflict you created is the fastest way to stop fearing them.
gh api --method PUT repos/:owner/:repo/branches/main/protection -f required_status_checks[strict]=true -f required_status_checks[contexts][]=test
The context must match the job name in your workflow, otherwise the check never satisfies the rule.
gh release create v1.0.0 --generate-notes --latest
https://github.com/ada/recipe-book/releases/tag/v1.0.0
Attach a build artefact if the project produces one, so the release is usable, not just informative.
Workflow diagrams
| Project | Level | New skill it adds |
|---|---|---|
| 1 — Personal README | Beginner | Writing for an audience; a repository that is pure presentation |
| 2 — Simple web project | Beginner | The complete local loop plus one reviewed pull request |
| 3 — Collaborative project | Intermediate | Issues, a board, deliberate conflict resolution, requesting changes |
| 4 — CI pipeline | Intermediate | Workflow files, caching, required status checks |
| 5 — Open-source contribution | Advanced | Forks, upstream, other people’s conventions, review iteration |
| 6 — Production-ready repository | Advanced | Protection, templates, ownership, scanning, releases, deployment |
Do them in order: each project assumes the previous one is comfortable.
- Projects 1 and 2 build fluency with the daily loop on your own code.
- Projects 3 and 4 add collaboration and automation.
- Projects 5 and 6 are the ones that look like professional work in a portfolio.
The commands stop being something you look up and start being something you type.
- Every project starts with a described piece of work, even when you are the only person involved.
- The change travels by branch and pull request, never by direct commits to main.
- Checks and a review gate the merge, exactly as they would on a team.
- Finishing means a tagged release, not just commits on main.
Worked example
The complete workflow for a project that is finished, start to finish, in one terminal session.
gh repo create simple-web --public --description "A tiny static web page" --license mit --clone cd simple-web printf '<h1>Hello</h1>\n' > index.html printf 'body { font-family: system-ui; }\n' > style.css git add . git commit -m "feat: add landing page" git push git switch -c feature/footer printf '<footer>Ada, 2026</footer>\n' >> index.html git commit -am "feat: add footer" git push -u origin feature/footer gh pr create --base main --title "feat: add footer" --body "Adds the name and year to the page footer." gh pr view --web # read the diff before approving your own work gh pr merge --squash --delete-branch git switch main && git pull git tag -a v1.0.0 -m "v1.0.0 — first complete version" git push origin v1.0.0 gh release create v1.0.0 --generate-notes --latest git log --oneline --graph # * 9d2f4c1 (HEAD -> main, tag: v1.0.0) feat: add footer (#2) # * 4f1c2ab feat: add landing page
A public repository with a reviewed change on main, a protected workflow habit, and a tagged v1.0.0 release.
Where you'll use it
Common mistakes
- Skipping projects 1 and 2 because they look trivial, then struggling with the workflow in project 5.
- Committing directly to main throughout a project and never using a pull request.
- Treating CI as optional once it exists, and merging past a red check.
- Letting a project end as a folder of commits with no tag and no README.
- Doing project 5 in a huge project with no good first issue, then getting discouraged by slow review.
- Refusing to use a second account for project 3 and missing the review experience entirely.
Best practices
- Complete the projects in order and keep each in its own repository.
- Use a pull request even when you are the only reviewer — the diff view catches mistakes.
- Reuse artefacts between projects: the CI workflow, the templates, the README structure.
- Tag a release at the end of every project so it looks finished.
- Write commit messages and pull request descriptions you would defend in a review.
- Keep a CONTRIBUTING.md and LICENSE in every public repository from the start.
Hands-on exercise
Complete all six projects
The projects section above is the exercise; work through them in order.
- Finish project 1 and confirm your profile page renders the README correctly.
- Finish project 2 with one squash-merged pull request and a v1.0.0 tag.
- Finish project 3 including a conflict you created and resolved on purpose.
- Finish project 4 and prove that a failing test blocks the merge.
- Finish project 5 with a real contribution merged upstream, or an open pull request that has passed the project’s checks.
- Finish project 6 and ask yourself whether a stranger could maintain the repository without asking you anything. Fix whatever the answer exposes.
💡 Hint: If you cannot find a suitable open-source project for project 5, contribute to documentation or add a test that covers a bug you found in a tool you already use.
Done when: Six repositories on your profile, each with a README, at least one reviewed pull request, and the later ones with CI and a tagged release.
Course projects
Six projects, each a little harder than the last. Finish one before starting the next — every project reuses the commands from the modules before it.
A GitHub profile page that introduces you with real content instead of an empty page.
- Create a public repository whose name is exactly your GitHub username, with a README.md.
- Write a short biography: what you build, what you are learning, and one thing you are looking for.
- Add a skills section, using badges or plain text, listing the languages and tools you actually use.
- List two or three projects with a one-line description and a link to each repository.
- Add a contact section (email or a link to your site) and a note about what kind of collaboration interests you.
- Commit, push, and view your profile page to check the Markdown renders as intended on both desktop and mobile widths.
gh repo create <your-username> --public --description "GitHub profile README" --clone cd <your-username> # edit README.md git add README.md git commit -m "docs: add profile README" git push
You're done when: Your profile page shows the biography, skills and project links, and the layout holds up on a narrow screen.
Practise the full local loop and one complete pull request on a project you own.
- Create a repository with a README and a license, then clone it locally.
- Add the smallest possible working page: an index.html with a heading and a style.css with one rule.
- Commit the two files as one commit with a description of the page, then add a second commit that changes the heading text.
- Push, then create a feature branch and add a footer with your name and the year.
- Push the branch and open a pull request. Review your own diff in the Files changed tab before approving.
- Squash-merge the pull request, delete the branch, pull main locally, and confirm the footer is present.
git clone git@github.com:ada/simple-web.git cd simple-web # add index.html and style.css git add . git commit -m "feat: add landing page" # add the footer on a branch git switch -c feature/footer git commit -am "feat: add footer" git push -u origin feature/footer gh pr create --base main --fill gh pr merge --squash --delete-branch
You're done when: main contains the squash-merged footer commit, the feature branch is gone, and git status -sb reports no ahead or behind count.
Run a project the way a team does: issues, board, branches, review and a resolved conflict.
- Create a repository and a Project board with Todo, In Progress, Review and Done columns.
- File three issues describing three features, label them, and add them to the board.
- Create a branch for the first issue, implement it, push, and open a pull request that says "Closes #<issue>".
- Move the card through In Progress and Review as you work, and enable the built-in workflow that moves cards to Done when the issue closes.
- For the second issue, deliberately create a conflict: change the same lines on a branch and on main, then merge and resolve it.
- Review the third pull request from another account (or as a second reviewer role), request one change, then push the fix and merge.
gh issue create --title "Add search box" --label enhancement gh project create --owner @me --title "Team project board" git switch -c feature/search git push -u origin feature/search gh pr create --base main --title "feat: add search box" --body "Closes #1" gh pr merge --squash
You're done when: Every issue closed through a merged pull request or a documented reason, the board is empty of open cards, and you have resolved a conflict you created on purpose.
Green checks on every push, and a merge that is impossible while they are red.
- Add .github/workflows/ci.yml with triggers for push and pull_request to main, and a single test job on ubuntu-latest.
- Add steps for checkout, language setup with caching, dependency install and the test command.
- Push the workflow on a branch and watch the run start in the Actions tab. Fix any failures.
- Add a second job that depends on the test job with needs: and builds the project.
- Configure branch protection on main so the test job is a required status check.
- Break a test on purpose, push, confirm the merge is blocked, then fix it and watch the check go green.
mkdir -p .github/workflows # add ci.yml gh api --method PUT repos/:owner/:repo/branches/main/protection \ -f required_status_checks[strict]=true \ -f required_status_checks[contexts][]=test gh run list --limit 5
You're done when: A pull request with a failing test cannot be merged, and the same pull request can be merged as soon as the check passes.
Get a change reviewed and merged in somebody else’s project, using their standards.
- Find a repository you actually use that has a good first issue label or a documentation gap you have noticed.
- Read CONTRIBUTING.md and the code of conduct, and fork the repository.
- Clone your fork, add the original as upstream, sync main, and branch with a name matching the issue.
- Make the smallest change that solves it, run the project’s tests or lint, and commit using their message conventions.
- Push to your fork and open a pull request against the upstream base branch using their template, linking the issue.
- Respond to review feedback: reply to every comment, push requested changes as new commits, and rebase with --force-with-lease if upstream moves.
gh repo fork owner/project --clone cd project git remote add upstream https://github.com/owner/project.git git fetch upstream && git switch main && git merge --ff-only upstream/main git switch -c docs/fix-install-link # ...fix, then... git push -u origin docs/fix-install-link gh pr create --repo owner/project --base main --fill
You're done when: Your pull request is open against the upstream repository with a linked issue, the project’s checks pass, and you have replied to every review comment.
The capstone: a repository a small team could maintain without asking you anything.
- Protect main: require one approval, require status checks, require conversation resolution, and disallow force-pushes and deletions.
- Add .github/pull_request_template.md and a bug report issue form.
- Add .github/CODEOWNERS covering your source and documentation paths.
- Add the CI workflow from project 4, plus secret scanning and Dependabot alerts and security updates.
- Write CONTRIBUTING.md, a LICENSE, a CHANGELOG.md and a README explaining how to run and test the project.
- Cut v1.0.0: annotate a tag, create a release with generated notes, attach the build artefact if there is one, and add a smoke-test step or a documented rollback to the README.
- Optional deployment: enable GitHub Pages from a workflow, or deploy the built artefact to a staging environment with a required reviewer before production.
gh repo edit --enable-vulnerability-alerts --enable-dependabot-security-updates gh api --method PUT repos/:owner/:repo/branches/main/protection \ -f required_pull_request_reviews[required_approving_review_count]=1 \ -f required_pull_request_reviews[require_code_owner_reviews]=true \ -f required_status_checks[strict]=true \ -f required_status_checks[contexts][]=test \ -f enforce_admins=true \ -f allow_force_pushes=false \ -f allow_deletions=false git tag -a v1.0.0 -m "v1.0.0 — first complete version" git push origin v1.0.0 gh release create v1.0.0 --generate-notes --latest
You're done when: A stranger can clone the repository, read the README, run the tests, understand the contribution process, see a protected main branch with green checks, and install your published v1.0.0 release.
Checkpoint quiz
0 of 5 answered · 0 correct
- Multiple choiceQ1
How do you make a README appear on your GitHub profile page?
- TroubleshootingQ2
Your project 4 workflow is green locally but the required check never satisfies branch protection, so the merge stays blocked. What is the usual cause?
- Multiple choiceQ3
Why do the projects insist on a release at the end?
- True or falseQ4
True or false: opening a pull request is pointless when you are the only contributor.
- Multiple choiceQ5
What signals that project 6 is genuinely production-ready?
Module summary
- Six projects, each adding one layer: presentation, the core loop, collaboration, CI, contribution, production readiness.
- Follow the same workflow every time: issue, branch, commits, pull request, checks, review, merge, release.
- Use a pull request even solo; the diff view is a review tool, not a social one.
- Reuse your own artefacts — the CI workflow, templates and README structure — between projects.
- A tagged release with generated notes is what makes a project look finished.
- Finish project 6 by asking whether a stranger could maintain it without your help.
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.