How Git works

@meirrosenschein invited you

8 lessons · Novice

About this study

“How Git works” is a free, 8-lesson study at novice, created with soclever, a personal AI teacher. Each lesson takes a few minutes and ends with a check-in question; finish the curriculum and you can take a certificate test to earn a diploma. Starting is free once you sign in — or generate your own study on any topic. Shared by @meirrosenschein.

What you'll learn

  1. What Git Is and Why. You're working on a group project, and three people are editing the same document. Person A adds a section on Monday. Person B deletes a paragraph on Tuesday, not realizing Person…
  2. Commits and Version History. You're three hours into editing a document when your coworker asks, "What did that paragraph say before you changed it?" You freeze. You don't know. You overwrote it. This is why…
  3. Branches and Merging Essentials. Your team is building a website. One person needs to redesign the homepage while another fixes bugs in the checkout process. If they both edit the same files at once, chaos…
  4. Git's DAG and Object Model. You save a file called essay.txt. Git doesn't store the file itself—it stores a snapshot of what's inside it. That snapshot gets hashed (run through a mathematical function that…

Questions this study answers

  • What problem does Git solve that you'd face if three people edited the same file without it?
  • If you commit your work twice—once after writing step 1 and once after step 2—what can you do if step 2 turns out to be wrong?
  • Why would you create a separate branch instead of making all your changes directly on the main branch?
  • Why does changing a single character in a file force Git to create a completely different hash for that commit and all commits after it?

More studies to explore

Or browse all public studies.