Building Git in 60 Minutes To See How It Works

Room 8Wed 13 May • 09:45–10:45DevIntermediate
We use Git every single day. We type "git commit", "git push", and pray to Linus Torvalds that nothing explodes. But let’s be honest: for most of us, the ".git" folder is a dark, scary place filled with dragons and detached HEADs. It’s time to slay the dragons. In this session we will build our own Mini Git from scratch, live on stage, in pure C# and .NET. Starting with an empty console app, we will peel back the layers of abstraction to see how Git really works. We will write the code to hash blobs, construct trees, and properly structure the binary "Index" file. We will build functional versions of "init", "add", "commit", "checkout", "branch" and "merge", proving that even the most complex features are built on simple principles. By the end, you’ll walk away with a fundamental understanding of how 1 of the most useful developer tools ever made works.

About the speaker

Stijn Castelyns

I am an IT trainer working at U2U focusing on full-stack development in ASP.NET Core as well as Azure AI development.