Learn Git · Git articles

Git articles

Longer reads on how Git works and where it came from, grouped by topic.

A series

Baby Git: Git's first commit, read line by line

Linus Torvalds' first version of Git was about a thousand lines of C. These posts walk through it, file by file, to show what Git was before it was Git.

  1. 1 Release3 min
  2. 2 Decoding Git - Guidebook For Developers: Introduction To Git's Code7 min
  3. 3 Decoding Git Guidebook: Chapter 212 min
  4. 4 Staging Index3 min

Git basics

Learn the Git core commands and concepts you'll use every day.

Everything on git basics →

Branching and merging

Learn how to work with branches and merge your changes together.

Everything on branching and merging →

Rewriting history

Learn how to change and clean up commits you've already made.

Everything on rewriting history →

Working with a team

Learn how to share your work and stay in sync with your team.

Everything on working with a team →

Getting out of trouble

Learn how to undo mistakes and recover work you thought was lost.

Everything on getting out of trouble →

How Git works inside

Learn how Git works under the hood.

Everything on how git works inside →

More about Git