Git & GitHub: final assessment
This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: Analyse a repository's history
Without using hints, write a program that reads a repository's commits, branches and tags as text and answers the questions a maintainer asks before a release.
- List each branch as merged into main or ahead by N commits
- Find the merge base of every unmerged branch with main
- Describe main's tip relative to the nearest tag, as git describe does
- Compute the next version and release notes from the conventional commits since that tag
- Report clearly when a branch or tag is missing
Final project
A mini Git in Python: Write a small version control system in Python that stores real Git objects, so that its ids match git hash-object, and supports the everyday commands.
How it is evaluated
- Correctness: every answer matches what Git reports for the same history
- Understanding: you can explain each algorithm in terms of Git's object model
- Design: graph helpers such as reachability are written once and reused
- Testing: example histories with known answers are checked automatically
To complete this course
- Score at least 70% on the final quiz
- Solve the beginner and intermediate exercises in every lesson
- Finish the final project and check it against the evaluation criteria