linuxlab.io
Tutorials▾
  • Linux & networking
    File system, processes, TCP/IP, BGP and OSPF
    →
  • Terraform & IaC
    HCL, state, plan/apply on a LocalStack sandbox
    →
  • Git & GitHub
    Object model, plumbing, branching, GitHub Actions
    →
All tutorials →
PricingAboutSign inCreate account
/
Intro
Lessons
Footer
linuxlab-TutorialsPricingAboutPrivacy & cookies
Copyright © 2026 LinuxLab. All rights reserved.
linuxlab.io
Tutorials▾
  • Linux & networking
    File system, processes, TCP/IP, BGP and OSPF
    →
  • Terraform & IaC
    HCL, state, plan/apply on a LocalStack sandbox
    →
  • Git & GitHub
    Object model, plumbing, branching, GitHub Actions
    →
All tutorials →
PricingAboutSign inCreate account
/
  • Введение
  • Главы
  • How it works
  • Уроки
  • База знаний
  • Собеседование

§ how it works · git

Git, taken apart into objects.

Each card below is an SVG visualization of one Git concept: how a file on disk becomes a commit, what "branches diverged" means, and where exactly --force-with-lease can betray you. A map where every ref has its place, rather than a list of commands.

These are drawn diagrams, not a sandbox. To get hands-on, go to the lessons with automatic checks.

  • objects · 5 steps

    Object model: blob → tree → commit

    Inside, Git is four object types and one big hash table. Let's see how a file on disk turns into a commit with a SHA, and why the whole history is cryptographically linked.

    view→
  • history · 5 steps

    Fast-forward vs merge commit

    You "merged the branch" but how? Without a merge commit or with one? What does "branches diverged" mean, and why does --no-ff exist? The commit graph shows it all in a second.

    view→
  • collaboration · 5 steps

    force push: --force vs --force-with-lease

    Why --force-with-lease exists, exactly how it protects you from overwriting someone else's commits, and why a background fetch can fool it. Three zones, five scenarios.

    view→
Footer
linuxlab-
Copyright © 2026 LinuxLab. All rights reserved.
Tutorials
Pricing
About
Privacy & cookies