Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Building GitJames Coglan

    Building Git

    James Coglan · 2021

    Programming
    Open Library
    Stats for nerds
    19recommend
    29mentions
    23people
    2019–2026years
    86% recommend14% neutral

    Mentions per year

    20192020202120222023202420252026

    What Hacker News says

    1. hmpcApr 2026
      Similarly, if not performance-focused, I can wholeheartedly recommend Building Git[0], which walks you through building your own git clone in Ruby (although the language is immaterial).

      [0]: https://shop.jcoglan.com/building-git/

      thread
    2. xqb64Jul 2025
      There is also James Coglan's "Building git" book that I just went through and can vouch for its quality.
      thread
    3. xqb64Jul 2025
      This is a Python port of the git(1) clone that can be found in James Coglan's amazing book, "Building git".

      I've definitely had a blast putting it together, and I also learned a lot, both about git and about Python.

      I highly recommend the book if you're up for a challenge. I'd say it's in the same ballpark as "Crafting interpreters", "Writing a C compiler", and I imagine "Building a debugger" (still haven't gone through this one, but it does look promising if you're like me and love this sort of thing).

      P.S.

      I'm always on the lookout for similar "from scratch" books (and other types of resources, more generally), so please shoot if you're aware of any that I'm not.

      Thanks

      thread
    4. kaycey2022Dec 2024
      Does nobody on this forum read technical books anymore? I read building git by James Coglan, and it was pretty good.
      thread
    5. NukedOneDec 2023
      Building git

      https://shop.jcoglan.com/building-git/

      Build a blockchain from scratch in go

      https://web3coach.gumroad.com/l/build-a-blockchain-from-scra...

      Compiling to assembly from scratch

      https://keleshev.com/compiling-to-assembly-from-scratch/

      If anyone knows of similar books, don't hesitate to comment below.

      thread
    6. semiquaverDec 2023
      If this post interests you, James Coglan’s Building Git is an extremely thorough book-length treatment of the same concept. Highly recommended for learning git internals in depth.

      https://shop.jcoglan.com/building-git/

      thread

    Related

    Cover of Pro Git
    2009–2026

    Pro Git

    Scott Chacon
    142 recommend · 173
    Cover of TEX by topic
    2015–2023

    TEX by topic

    Victor Eijkhout
    3 recommend · 5
    Cover of Version control with Git
    2012–2025

    Version control with Git

    Jon Loeliger
    6 recommend · 9
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of TEX
    2010–2026

    TEX

    Donald Knuth
    12 recommend · 43
    Cover of The Practice of Programming
    2007–2026

    The Practice of Programming

    Brian W. Kernighan
    90 recommend · 184
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604