There's a book about doing this with Git. I wonder how much of the content is cribbed from sources like that, laundered through LLMs.
The potential for technical authors in this space is enormous.
[0]: https://nostarch.com/building-a-debugger
[1]: https://nostarch.com/writing-c-compiler