Git Will Finally Make Sense After This (4 Hours)
A 4-hour deep dive into how Git actually works β from the building blocks up. No memorization. No "10 commands every developer needs to know." Just understanding. By the end, you'll know exactly how Git stores your work, how branches and references really function, and how to reason about every command you run. π This is the first 4 hours of my complete Git & GitHub course on Udemy: π https://www.udemy.com/course/git-in-p... ββββββββββββββββββββββββββββββββ π WHAT YOU'LL LEARN ββββββββββββββββββββββββββββββββ π¦ Git's three building blocks β blobs, trees, and commits β€΄οΈ The three references β HEAD, branches, and tags π³ The three-tree model β work tree, index, and HEAD π§ Branching, resetting, and the reflog π How to read Git's documentation π§ Why understanding beats memorization in the age of AI ββββββββββββββββββββββββββββββββ π₯ WHO THIS IS FOR ββββββββββββββββββββββββββββββββ β’ Self-taught developers who use Git daily but still feel uncertain when something goes wrong β’ Bootcamp grads and CS students preparing for their first dev job β’ Engineers who've been faking it on Git for years and want to finally understand it β’ Anyone tired of pasting commands from Stack Overflow and AI without knowing what they do ββββββββββββββββββββββββββββββββ π RESOURCES β STARTER FILES ββββββββββββββββββββββββββββββββ All the demo projects, setup scripts, and exercises used throughout this video: π https://github.com/KianAttar/git-star... Clone or download the repo to follow along hands-on with every lab. ββββββββββββββββββββββββββββββββ β±οΈ CHAPTERS ββββββββββββββββββββββββββββββββ 0:00:00 π¬ Intro 0:01:15 π― How Git Actually Works: A Visual Overview 0:13:06 βοΈ Skip Notice β Set Up or Skip Ahead 0:13:26 βοΈ [Setup] Setting Up VS Code 0:18:05 βοΈ [Setup] A Better Terminal with Starship 0:19:26 βοΈ [Setup] Installing Git and Touring the Docs 0:21:59 βοΈ [Setup] GitHub: The Social Media of Software 0:29:57 βοΈ [Setup] How to Read Git Documentation 0:39:37 π± [Foundations] Let's Initialize a Repository 0:42:01 π± [Foundations] Configuring Git with git config 0:50:39 π± [Foundations] Don't Memorize Git β Understand It 0:53:38 π¦ [Three Objects] Hashes and Blobs: How Git Stores Content 1:01:13 π¦ [Three Objects] Let's Hash and Inspect Some Blobs 1:06:39 π¦ [Three Objects] Trees: How Git Stores Folder Structure 1:12:48 π¦ [Three Objects] Let's Build and Inspect Some Trees 1:19:45 π¦ [Three Objects] Commits: How Git Stores History 1:28:04 π¦ [Three Objects] Let's Make and Inspect Some Commits 1:36:55 β€΄οΈ [Three References] HEAD: The "You Are Here" Pointer 1:47:36 β€΄οΈ [Three References] Branches and Tags: Lines of Work and Bookmarks 1:58:12 β€΄οΈ [Three References] Detached HEAD: Off the Line of Work 2:13:42 π³ [Three Trees] The Work Tree: Your Scratch Paper 2:23:28 π³ [Three Trees] The Index Tree: Your Answer Sheet 2:34:40 π³ [Three Trees] Let's See the Three Trees in Action 2:46:58 π³ [Three Trees] The --staged Pattern: How Git Commands Switch Focus 2:55:24 π³ [Three Trees] Quick Recap: The Three Trees 2:57:04 π³ [Three Trees] Making a Commit: How the Three Trees Update 3:10:19 π³ [Three Trees] Switching Commits: Putting It All Together 3:19:34 π§ [Working with Refs] Managing Branches: Create, Rename, Delete 3:31:29 π§ [Working with Refs] Managing Tags: Lightweight and Annotated 3:42:08 π§ [Working with Refs] git reset: Moving Where a Branch Points 3:48:42 π§ [Working with Refs] git reset Modes: --soft, --mixed, --hard 4:00:06 π§ [Working with Refs] The Reflog: How to Find "Lost" Commits 4:12:18 π¬ Outro ββββββββββββββββββββββββββββββββ π WANT TO GO FURTHER? ββββββββββββββββββββββββββββββββ The full course on Udemy covers what's next β taught the same way you just experienced: π Merging strategies and conflict resolution β¨ Rebase in depth (and how to undo one) πͺ Force-push recovery π Remotes and team collaboration π The full GitHub workflow β pull requests, Actions, signed commits, forks, organizations β‘ Plus a lesson on developer velocity that nobody else teaches π https://www.udemy.com/course/git-in-p... ββββββββββββββββββββββββββββββββ π 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, URLs & Forms: https://www.udemy.com/course/html-web... ββββββββββββββββββββββββββββββββ #git #gittutorial #versioncontrol #programming #softwaredevelopment #coding #webdev #learngit

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

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isnβt 1.0 - Andrew Kelley Explains

Push Your First Project to GitHub the RIGHT Way β What Nobody Tells You

Build a Full-Stack GenAI Project in 4 Hours (FastAPI, React, Supabase)

Complete GitHub Actions Course - From BEGINNER to PRO

Using Large Language Models | Build Your Own LLM Workshop #1

Build and Deploy Claude Skills and MCP Servers | The Complete 2026 Guide

Software architecture, human judgment, and AI's limits with Grady Booch

How To Think SO CLEARLY People Assume You're A Genius

Inside the Mind of Anthropic CEO Dario Amodei | The Circuit | Extended Interview

Git Tutorial for Beginners: Learn Git in 1 Hour

Building a Data Warehouse From Scratch with Jacob Baskin

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Keynote: After the AI Hype β Whatβs Real, and Whatβs Next - Richard Campbell - 2026

Linux 7.2 Review: MAJOR Performance, GPU, CPU, and Networking Upgrades

Software engineering at the tipping point

The Big Short (2015): The Jenga Scene β Explaining the Financial Collapse

Git Tutorial For Dummies

I Investigated The World's Skinniest vs Fattest City

