Blobs, Trees & Commits: The 3 Objects That Power Git (Finally Explained)

Опубликовано: 12 Июль 2026
на канале: KianCode
104
8

Every git commit stores 3 hidden objects. Most developers run `git commit` daily without knowing what Git actually created.

This video changes that — no memorization, no command lists. Just a clear, first-principles look at how Git stores your code and why it works the way it does.

📌 What you'll learn:
→ What a blob is and how Git hashes your file content
→ How tree objects capture a full snapshot of your directory
→ How do commit objects link everything into a permanent timeline
→ Why understanding these 3 objects makes every Git command finally click

🚀 This is from my complete Git & GitHub course on Udemy:
👉 https://www.udemy.com/course/git-in-p...

⏱️ CHAPTERS
0:00 Intro
0:23 Hashes and Blobs: How Git Stores Content
7:58 Let's Hash and Inspect Some Blobs
13:24 Trees: How Git Stores Folder Structure
19:33 Let's Build and Inspect Some Trees
26:30 Commits: How Git Stores History
34:49 Let's Make and Inspect Some Commits

📁 RESOURCES — STARTER FILES
All the demo projects, setup scripts, and exercises used throughout this video:
👉 https://github.com/KianAttar/git-star...

👋 ABOUT KIANCODE
KianCode is about understanding, not memorization. In the age of AI, understanding is the only thing that matters.

I'm Kian. Subscribe for more videos like this — programming education from the building blocks up.

🎥 Other deep-dive tutorials on this channel:
• Understanding the Internet & Web: HTML, HTTP, DNS & more:
   • The Only HTML Tutorial That Teaches You th...  


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

#git #gittutorial #versioncontrol #programming #softwaredevelopment #coding #webdev #learngit