Skip to content

What it is

Git is a distributed version control system: every clone is a full repository, every commit is an immutable snapshot, and branching is a pointer operation.

Git is not a file server. It is a content-addressed database of objects (blobs, trees, commits, tags) identified by SHA-1 (now SHA-256 in experimental mode). Every operation — commit, merge, rebase, checkout — works by writing or moving pointers in this object graph. Two developers can work offline for weeks and merge cleanly because the graph never needed a central server to authorize the write.

The design goal, stated by Linus Torvalds in 2005, was speed, simplicity and support for non-linear development with thousands of branches.