zpostcode
Git
Apr 16, 2025 12:10 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 >
Branden Jacobs-Jenkins
  Branden Jacobs-Jenkins American playwright Actions Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Branden-Jacobs-Jenkins Share Share Share to social media Facebook X URL https://www.britannica.com/biography/Branden-Jacobs-Jenkins Written by Nick Tabor Nick Tabor is a freelance journalist and the author of Africatown: America's Last Slave Ship and the Community It Created. Nick Tabor Fact-checked by The Editors of Encyclopaedia Britannica Encyclopaedia Britannica's...
one-state solution
  one-state solution Israeli-Palestinian history 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/topic/one-state-solution Give...
Ptolemaic dynasty
  Ptolemaic dynasty ancient Egypt Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Ptolemaic-dynasty Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Ptolemaic-dynasty Written by Alan K. Bowman Lecturer in Ancient History, University of Oxford; Student and Tutor, Christ Church, Oxford. Author of Egypt After the Pharaohs. Alan K. Bowman, Joyce Tyldesley Senior Lecturer, Faculty of Life Sciences,...
What is the Federal Housing Finance Agency (FHFA)?
     The Federal Housing Finance Agency (FHFA) is a U.S. government agency created by the Housing and Economic Recovery Act of 2008 (HERA). Its main role is to provide oversight of mortgage and housing credit government-sponsored enterprises (GSEs), specifically the Federal National Mortgage Association (Fannie Mae), Federal Home Loan Mortgage Corporation (Freddie Mac), and the Federal Home Loan Bank System....
Information Recommendation
Want to be a pairs trader? How to assess, enter, and exit a pairs trade
     So you’ve done some research on the basic principles of pairs trading—the art and science of identifying similar (and correlated) stocks and placing offsetting long and short positions according to your strategy—and you’d like to give it a try.     First, do you have a margin account? Pairs trading requires taking a short leg on one of the stocks...
Let your cash DRIP into more shares: A guide to dividend reinvestment
     When selecting stocks for your portfolio, do you concentrate on high-potential companies that seek high growth and plow every penny of profit into research and development, technology, and marketing? Or do you look for steady-as-she-goes cash cows that tend to deliver solid earnings each quarter—and pay a portion of it out to shareholders in the form of a dividend?...
Saturday Night Fever
  Saturday Night Fever film by Badham [1977] 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...
The Princess Bride
  The Princess Bride film by Reiner [1987] Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/The-Princess-Bride-film-by-Reiner Share Share Share to social media Facebook X URL https://www.britannica.com/topic/The-Princess-Bride-film-by-Reiner Written by Kelly Gisonna Kelly Gisonna 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...
Mortgage financing: The complex system behind home lending
     Getting a mortgage is one of the most complex (and expensive) financial transactions you’ll likely undertake. Anyone who’s ever closed a real estate deal knows just how much signing, initialing, and notarizing of documents is involved.   But even after closing, your home loan may gain a life of its own, moving from lender to lender. The mortgage financing market...
EBIT or EBITDA: Different ways of looking at net income
     When it comes to a company’s financial statements, net income, earnings per share (EPS), and revenue are the numbers that grab the headlines. But when analysts are doing a deeper dive to examine a company’s profitability and potential for future growth, they calculate other values from the income statement, such as earnings before interest and taxes (EBIT) and earnings...
Constitutional Carry of Guns
  Constitutional Carry of Guns Should Permitless, “Constitutional Carry” of Guns Be Legal? Actions Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Constitutional-Carry-of-Guns Share Share Share to social media Facebook X URL https://www.britannica.com/topic/Constitutional-Carry-of-Guns Written by The Editors of ProCon ProCon's editors write and verify new content and update existing content. ProCon presents the pro and con arguments to debatable issues...
graphics processing unit
  graphics processing unit technology 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/graphics-processing-unit Give...