AiTeky Original Interactive Learning & Practice Beginner
Git and GitHub: snapshots, branches, merges and team workflow
Build a tiny Git in Python to see that a commit is a labelled snapshot pointing at its parent, merge two branches line by line and meet a real conflict, and compare branching strategies for a team by conflicts and waiting time.
Git is how almost every team keeps track of code: who changed what, when, and why, and how two people can work at the same time without overwriting each other. Most people learn Git as a list of commands to memorise, which is why it feels fragile. This course takes the opposite route: you build a very small Git in Python, so the commands become obvious consequences of how it stores things.
The programs here are teaching models, not the real Git. When you meet the real commands (commit, branch, merge, rebase), you will know what they are doing underneath. All files and names are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No Git knowledge is assumed. Basic Python helps.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 00 25 min π AiTeky Pass Start here: Git keeps snapshots, not edits Learn the picture that makes Git make sense: a history of labelled snapshots, each pointing to the one before, with a branch as nothing more than a movable label.
- 01 30 min Free sample π AiTeky Pass Commits are labelled snapshots Build a tiny Git where a commit stores a complete snapshot, a message and the id of its parent, identified by a fingerprint of its content, then see that a branch is just a name pointing at a commit, and that history is a chain you can walk backwards.
- 02 30 min π AiTeky Pass Merging and conflicts: the three-way rule Merge two versions of a file by comparing each with their common ancestor, see that a change made on only one side is taken without fuss and a change to the same line on both sides is a conflict that a person must settle, and learn to read and resolve conflict markers.
- 03 30 min π AiTeky Pass Bisect, and the shape of history: merge versus rebase Find the commit that introduced a bug among 200 commits in about eight tests with a binary search (git bisect), and compare a merge commit with a rebase by the history each leaves, so you know which to choose and why rebasing a shared branch is dangerous.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

