Skip to main content

A Plumber’s Guide to Git: Conclusion

Well done for getting this far!

Let’s recap what we’ve learnt throughout the workshop:

Here’s a whiteboard sketch that shows how it all fits together:

HEAD (purple) points to refs (red), whcih point to commits (green). Commits can point to other commits or to trees (blue). Trees can point to other trees or blobs (grey).

Along the way, you’ve learnt the plumbing operations that manipulate these objects and pointers. This is everything that happens in a typical Git workflow:

I hope you now have a better understanding of How Git works under the hood, and it makes you a more confident and effective user when you return to the world of porcelain.

If you have any comments or feedback, please get in touch. I’d love to make the workshop even better for future readers.

Thanks for following along!