zpostcode
Git
Jun 29, 2025 8:27 PM

  Git computing Actions Cite verifiedCite While every effort has been made to follow citation style rules, there may be some discrepancies. Please refer to the appropriate style manual or other sources if you have any questions. Select Citation Style MLA APA Chicago Manual of Style Copy Citation Share Share Share to social media Facebook X URL https://www.britannica.com/technology/Git Give Feedback Feedback Corrections? Updates? Omissions? Let us know if you have suggestions to improve this article (requires login). Feedback Type Select a type (Required) Factual Correction Spelling/Grammar Correction Link Correction Additional Information Other Your Feedback Submit Feedback Thank you for your feedback Our editors will review what you’ve submitted and determine whether to revise the article.

  Print Cite verifiedCite While every effort has been made to follow citation style rules, there may be some discrepancies. Please refer to the appropriate style manual or other sources if you have any questions. Select Citation Style MLA APA Chicago Manual of Style Copy Citation Share Share Share to social media Facebook X URL https://www.britannica.com/technology/Git Feedback Written by Meg Matthias Meg Matthias is Senior Video Producer at Encyclopædia Britannica. Meg Matthias Fact-checked by The Editors of Encyclopaedia Britannica Encyclopaedia Britannica's editors oversee subject areas in which they have extensive knowledge, whether from years of experience gained by working on that content or via study for an advanced degree. They write new content and verify and edit content received from contributors. The Editors of Encyclopaedia Britannica Last Updated: Aug 7, 2024 • Article History Table of Contents Ask the Chatbot a Question Ask the Chatbot a Question

  

Git1

  GitHub page showing Twitter's open-source codeAlthough Git and GitHub are often confused for each other, GitHub uses Git as the basis of its code-sharing repositories.(more)Git, open-source distributed version control system (DVCS) created by Linux developer Linus Torvalds in 2005. As of 2024 Git is the most widely used version control system and is used by both individuals and companies including Microsoft, Netflix, and Google.

  GitHub and GitLabGitHub: cloud-based service owned by Microsoft, founded in 2008GitLab: GitHub alternative with a free version, founded in 2011Both GitHub and GitLab function as software code repositories that use Git to help developers collaborate more effectively.

  When developers write code, they generally rely on a DVCS, which functions as a sort of “shared digital diary” for code, to manage and track changes. When using Git, developers can pull source code into their personal “branch,” which is a copy of the main repository—where all changes to source code are tracked. Once a developer creates the branch, they can make necessary changes, and then “commit” the code. This means that developers can either merge their changes into the repository or keep the changes in a separate file. A DVCS allows developers to effectively collaborate by merging their committed code into the main repository without conflicts or unknowingly overwriting one another’s work.

  In the early 1990s, when Linux was still a new technology, developers worked without a DVCS. When developers posted changes to the open-source operating system, Torvalds would manually apply the changes to his source code and eventually release an updated version. Changes were marked only with a “diff” tag in the code. The concurrent version systems (CVS) available for version control at the time struggled to categorize larger code changes and were susceptible to bugs, and Torvalds disliked other open-source options. In 2002 Torvalds and Linux introduced and began to use the version control system BitKeeper—a proprietary DVCS owned by BitMover. Torvalds, who had not originally wanted to rely on a version control system, said BitKeeper “changed the way [he] viewed source control.”

  “I had performance requirements that were not even remotely satisfied by what was available, and I also worried about integrity of the code and the whole workflow, so I ended up just deciding to write my own.” —Torvalds in a 2015 Linux Foundation interview

  However, many Linux developers were devoted to the philosophy behind open source, which rejected secrecy in favor of collaborative, open sharing in the programming world. Many developers voiced their frustration to Torvalds, and some refused to work with BitKeeper at all. The breaking point occurred when Torvalds’s collaborator Andrew Tridgell reverse-engineered BitKeeper protocol to such a degree in an attempt to bypass BitMover’s usage rules that mediation with BitMover was required. “I decided that I can’t continue using BK, but that I really didn’t want to go back to the bad old pre-BK days,” Torvalds recalled in a 2015 interview with the Linux Foundation. Thus the idea of Git was born.

  Get a Britannica Premium subscription and gain access to exclusive content. Subscribe Now Git’s initial framework came together in a little over a week. The program handled version control for Linux projects but soon expanded to other collaborative and open-source projects. Git has occasionally been criticized for its complicated user interface, with even prolific developer Andrew Morton saying that Git is “expressly designed to make you feel less intelligent than you thought you were.” Still, Torvalds maintains that such user experience differences from other DVCS and CVS products are necessary for Git to function. In 2023 Stack Overflow, a coding forum site, reported that its survey of more than 73,000 software developers had found that 93 percent of respondents were using Git as their primary version control system.

Comments
Welcome to zpostcode comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Recommend >
Siege of Drogheda
  Siege of Drogheda, siege fought in northeastern Ireland from September 3 to September 11, 1649, pitting Irish Royalists against the New Model Army of Oliver Cromwell. The Royalist rebellion that broke out in Ireland against the new English republic in 1649 was met by a prompt English response. On August 15 Cromwell and 15,000 troops landed in Dublin. His merciless...
Sack of Rome
  Sack of Rome, an attack on the city of Rome on May 6, 1527, by the forces of the Holy Roman Emperor and King of Spain, Charles V. Charles’s victory over the French at Pavia in 1525 had left his armies dominant in Italy. After ravaging the countryside, Charles’s forces stormed the city of Rome and embarked on an orgy...
Are 401(k) fees affecting your retirement savings?
     You know you’re supposed to save for retirement, and if your employer offers a 401(k) plan, building a nest egg can be a cinch. But the fees charged by some 401(k) plans can take a toll on the returns your retirement account should be racking up, leaving you to wonder, “Where’d the money go?”   Saving money in an employer-sponsored...
plague of Justinian
  plague of Justinian, plague pandemic that spread throughout the Mediterranean region and beyond beginning about 541 CE. It is named for Justinian I, who was the Byzantine emperor at that time.   Although there is evidence that bubonic plague has been around for as long as humankind, the plague of Justinian is the first documented outbreak of a bubonic plague pandemic....
Information Recommendation
Siege of Rome
  Siege of Rome, siege mounted on Rome, then an outpost of the Byzantine Empire, by the kingdom of the Ostrogoths in 537–538. The desire of Emperor Justinian to restore the full extent of the Roman Empire led to a struggle for control of Italy between his Byzantine army, led by Belisarius, and the Ostrogoths, led by a Romanised king named...
Siege of Fort Ticonderoga
  Siege of Fort Ticonderoga, engagement in the American Revolution from July 2–6, 1777, resulting in a British victory that failed to end the rebellion, as its commander had believed it would. The summer after their success at Valcour Island, the British opened their renewed invasion plan with a three-pronged effort to split the northern American colonies. Accordingly, Major General John...
Siege of Sarajevo
  Siege of Sarajevo, siege of the city Sarajevo by Bosnian Serb forces from April 5, 1992, to February 29, 1996, during the Bosnian War, which followed the dissolution of Yugoslavia. It is the longest siege in modern European history through the 20th century, followed by the 872-day Nazi siege of Leningrad during World War II.   Before fighting broke out in...
Is your employee 401(k) match enough to retire on?
     You may have heard that it’s wise to contribute as much to your employer 401(k) plan as you need to collect the full match (if a match is offered). But should you go above and beyond in your 401(k), or are there other ways to get the most from your retirement planning?   Your situation—from your savings goals and aspirations...
Quit India Movement
  Quit India Movement, mass protest movement during 1942–43 against the colonial British raj’s political and military control of India. The movement, which took place against the backdrop of World War II, was initially planned by Mahatma Gandhi and his followers in the Indian National Congress (Congress Party) as a nonviolent action. However, attempts by the British authorities to prevent the...
Siege of Antwerp
  Siege of Antwerp, German capture of the Belgian city of Antwerp from 28 September 28 to October 10, 1914, in the early months of World War I. The Siege of Antwerp showed the weakness of fortifications in the face of the latest German heavy artillery, but it also revealed the Belgians’ refusal to bow to German demands and their determination...
Moscow theater hostage crisis of 2002
  Moscow theater hostage crisis of 2002, hostage taking by Chechen militants at the Dubrovka Theater in Moscow, Russia, that lasted from October 23 to October 26, 2002. It ended when Russian Spetsnaz (special forces) troops of the anti-terrorist Alfa command filled the theater with a gas. At least 150 people died, the vast majority of them as a result of...
Siege of Calais
  Siege of Calais, siege during the Hundred Years’ War on the northern coast of France, lasting from September 4, 1346, to August 4, 1347. After his magnificent victory at the Battle of Crécy in August 1346, Edward III of England marched north and besieged Calais, the closest port to England and directly opposite Dover where the English Channel is narrowest....