Git and Other Version Control Systems
Asha's cousin says, "At my old job we used SVN and needed the server just to see history." Asha's Git history works on a train with no signal. The difference is not a detail; it is the main design choice that separates version control systems.
The rule
Centralised keeps one history on a server; Git gives everyone a full copy.
Centralised systems, such as Subversion (SVN) and Perforce, keep the one true history on a central server. Your computer holds a working copy of the files, but looking at old versions and recording new ones means talking to the server.
Distributed systems, such as Git and Mercurial, give every copy of the project the complete history. Your laptop holds every snapshot ever recorded. You can commit, browse history, compare versions and create branches with no network at all, then share your work when you choose.
What this means for Git in practice:
- Fast: most commands read your local disk, not a server.
- Offline: record work anywhere, sync later.
- Resilient: every clone is a full copy, so losing one machine does not lose the history.
- Cheap branching: a branch in Git is a tiny pointer, so making one is instant.
- Snapshots, not patches: each commit records how the whole project looks. Files that did not change are simply re-used, so this stays small.
One more distinction beginners mix up:
git # the tool that runs on your computer
GitHub # a website that hosts Git repositories and adds team featuresGit is the engine. GitHub (like GitLab or Bitbucket) is a service where you can keep a shared copy online and collaborate around it. You can use Git without ever touching GitHub.