zpostcode
Git
Sep 10, 2025 3:07 AM

  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 >
Shubhanshu Shukla
     From pilot to astronaut: Shubhanshu Shukla Shown here in 2024, Shubhanshu Shukla is a test pilot and fighter combat leader in the Indian Air Force who has been chosen as the primary mission pilot for Axiom Mission 4 to the International Space Station and as one of four astronauts for India's Gaganyaan mission to low Earth orbit. (more) Shubhanshu...
4-methylthioamphetamine
  4-methylthioamphetamine drug Actions Share Share Share to social media Facebook X URL https://www.britannica.com/science/4-methylthioamphetamine Share Share Share to social media Facebook X URL https://www.britannica.com/science/4-methylthioamphetamine Also known as: 4-MTA Written by Kara Rogers Kara Rogers is the senior editor of biomedical sciences at Encyclopædia Britannica, where she oversees a range of content from medicine and genetics to microorganisms. She joined Britannica in...
Han Kang
     Han Kang, 2024 Nobel Prize winner for literature South Korean writer Han Kang, 2016. (more) Han Kang South Korean writer Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Han-Kang Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Han-Kang Written by René Ostberg René Ostberg is an associate editor at Encyclopaedia Britannica. René Ostberg Fact-checked by The...
Hair
     The musical Hair A scene from the Broadway musical Hair, performed in 1968. (more) Hair musical by MacDermot, Rado, and Ragni Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Hair-musical Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Hair-musical Written by Jordana Rosenfeld Jordana Rosenfeld is a copy editor at Encyclopaedia Britannica. Jordana Rosenfeld Fact-checked by...
Information Recommendation
Ten Depictions of Hell
     Giotto: detail of The Last Judgment Detail of The Last Judgment showing the damned in hell, fresco by Giotto, c. 1305–06; in the Arena Chapel, Padua, Italy. (more) Ten Depictions of Hell Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Ten-Depictions-of-Hell Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Ten-Depictions-of-Hell Written by Michelle Castro Michelle Castro...
Angela Alsobrooks
     Angela Alsobrooks Prince George's County Executive and candidate for the United States Senate Angela Alsobrooks spoke at the Democratic National Convention on August 20, 2024. (more) Angela Alsobrooks American politician Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Angela-Alsobrooks Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Angela-Alsobrooks Written by Tracy Grant Tracy Grant is editor-in-chief...
Uma Thurman
     Uma Thurman American actress Uma Thurman, 2020. (more) Uma Thurman American actress Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Uma-Thurman Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Uma-Thurman Also known as: Uma Karuna Thurman Written by Fred Frommer Fred Frommer is a sports historian, author, and writer who has written for a host of...
John J. Hopfield
     John J. Hopfield American physicist John J. Hopfield was awarded the 2024 Nobel Prize in Physics for his work on neural networks. (more) John J. Hopfield American physicist Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/John-J-Hopfield Share Share Share to social media Facebook X URL https://www.britannica.com/biography/John-J-Hopfield Also known as: John Joseph Hopfield Written by Tara Ramanathan...
The Book of Margery Kempe
     The Book of Margery Kempe A page from the manuscript of The Book of Margery Kempe, written in the late 1430s and discovered in 1934. (more) The Book of Margery Kempe work by Kempe Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/The-Book-of-Margery-Kempe Share Share Share to social media Facebook X URL https://www.britannica.com/topic/The-Book-of-Margery-Kempe Written by Denise Imwold...
David Baker
  David Baker American biochemist and computational biologist Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/David-Baker-biochemist Share Share Share to social media Facebook X URL https://www.britannica.com/biography/David-Baker-biochemist Written by Kara Rogers Kara Rogers is the senior editor of biomedical sciences at Encyclopædia Britannica, where she oversees a range of content from medicine and genetics to microorganisms. She joined Britannica...
Robin Wall Kimmerer
     Robin Wall Kimmerer Indigenous plant ecologist and essayist Robin Wall Kimmerer in 2002. (more) Robin Wall Kimmerer Potawatomi writer and scientist Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Robin-Wall-Kimmerer Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Robin-Wall-Kimmerer Written by Stephanie Triplett Stephanie Triplett is a freelance writer and academic editor based in Chicago. Stephanie...
Heat
     Al Pacino in Heat (1995) Al Pacino as Lieut. Vincent Hanna in Michael Mann's crime film Heat (1995). The film is considered to be one of the greatest of its genre. (more) Heat film by Mann [1995] Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Heat-film-by-Mann Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Heat-film-by-Mann Written...