Teaching Git and agentic programming at the University of Vienna

November 2026

On 10 November 2026 I gave a lecture for mathematics students at the University of Vienna, in the course Tools in Data Science, together with Edoardo Kimani Bellotto (u:find, Google Scholar). It was about the tools I use every day to write software: Git, coding agents, and the habits that keep both under control.

One game, built commit by commit

Instead of slides full of commands, I built a small Flappy Bird game in the browser in front of the room and committed every step: first the README, then the HTML, the CSS and the JavaScript, each in its own commit. After the fourth commit the game was playable. The fifth added a .gitignore and a small feature that records each run so it can be played back.

Doing it live shows what a commit is: a snapshot with an author, a message and a parent that you can always go back to.

Branches you can see

To explain branches, I created one called fast-bird and changed a single number in it, the bird's forward speed: from 120 to 240, then to 5000. Switching between main and fast-bird changed the game on the projector at once. On main the bird flies normally; on fast-bird it is gone before you can press a key. We left the branch unmerged on purpose, so the history shows both lines side by side.

Agentic programming

The second part was about agentic programming: working with a coding agent that edits the code for you. Git is what makes that safe. Every change the agent makes shows up in git diff, small commits keep each step easy to review, and anything that goes wrong is one command away from being undone.

Habits worth keeping