←back to thread

1062 points mixto | 2 comments | | HN request time: 0s | source
Show context
elevatedastalt ◴[] No.42942487[source]
I regularly conduct 2 hr long "Intro to the Git Data Model" courses at my workplace (1-2 times a year). I literally take them into the .git directory and unzip the files to show how everything is just plain text representation of basic data structures. It's honestly cool to see it click in their heads.

We have a basic Git cookbook we share with any new joinees so that they start committing code, but most of them just follow it religiously and don't understand what's going on (unsurprisingly).

However, literally everyone who attends the course comes out with a reasonable working understanding of Git so that they know what's actually happening.

That does NOT mean that they know all the commands well, but those can be trivially Googled. As long as your mental model is right, the commands are not a big deal. And yet, the vast majority of the discussion on HN on every single Git post is about the command line.

Funnily enough the class sounds a lot like the alt text of https://xkcd.com/1597/ (Just think of branches as...), the difference is that that is unironically the right way to teach Git to a technical audience, and they will come out with a fundamental understanding of it that they will never forget.

I honestly think it's such a high ROI time investment that it's silly to not do it.

replies(5): >>42942545 #>>42943759 #>>42943794 #>>42943938 #>>42945620 #
1. nomilk ◴[] No.42943759[source]
Is there a copy/video of your talk, or a similar one you recommend?
replies(1): >>42961469 #
2. raju ◴[] No.42961469[source]
Posted this comment https://news.ycombinator.com/item?id=42961468

Happy to get any feedback.