Git was born in 2005 when a Linux creator found no tool fit his needs
In short: Linus Torvalds wrote Git in 2005 because none of the free version-control systems met the demands of Linux kernel work. Today it is the most widely used system among professional developers, and every copy holds the full project history.
Git is a distributed version control system, meaning it manages versions of source code or other data. Each developer keeps a local copy of the entire repository, including its history, so work can carry on without a network connection or a central server. Teams often still use a shared server to hold an integrated copy that others synchronise with.
Torvalds began building it in April 2005, after the free licence for a proprietary tool the Linux kernel team relied on was withdrawn. He set demanding goals: patching should take no more than three seconds, the system should support a distributed workflow, and it needed strong protection against corruption. Development began on 3 April 2005, and by 16 June Git was managing the Linux 2.6.12 release. Junio Hamano took over maintenance in July 2005 and oversaw the 1.0 release that December.
Git makes its history tamper-evident. The identifier of each version depends on all the development that came before it, so altering a published version would be noticed. Each file version is stored as a blob, directories become tree objects, and commits link them into history. A branch is only a reference to a single commit, which is why creating and merging branches is cheap and non-linear work is well supported.
Surveys show Git's dominance among developers, though these figures describe the people sampled rather than every programmer. Its design involves trade-offs too: it does not record file renames explicitly and instead infers them from snapshots, which usually works but can misread a rename made alongside other edits. Its command line is also widely regarded as hard to learn, which is one reason graphical clients exist.
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: Git
To cite this card, link to https://intellectplus.co.uk/app/technology-git.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Technology today · More in Technology · Latest · A–Z · All topics