Comment

Comment by emptysongglass

I'm sorry to tell you this but your article isn't very good at explaining Git. And the commands you're using to demonstrate aren't helpful either. You're just replacing one set of assumptions with another.

Yes to teaching Git internals to people but really it should start visually. I've taught Git to dozens of people with no or little technical background and this is how they get it. You start with some variation of "everything is an object" and then go on to "branches are just labels" for these objects.

There was a really great talk where the speaker used wood blocks and pegs to teach Git internals to an audience. I can't find it now, I wish I could.

Games like Oh My Git! and tools like https://learngitbranching.js.org are also very effective.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton