I’d been using Git comfortably for months before getting uncomfortable with how little I actually understood.
git add. git commit. git push were memory at this point. But ask me what Git was actually doing under the hood? I couldn’t tell you. I had some (mostly wrong) assumptions but that was about it.
Then I discovered the .git/ directory…
Git Is Not What You Think It Is
Many people think of Git as a “track changes” tool. That’s the way I thought of it. Like the version history in a Google Doc. That’s not wrong, but it’s not the whole picture.












