This article's lead section may be too short to adequately summarize the key points. Please consider expanding the lead to provide an accessible overview of all important aspects of the article.(April 2021)
This article contains content that is written like an advertisement. Please help improve it by removing promotional content and inappropriate external links, and by adding encyclopedic content written from a neutral point of view.(June 2021) (Learn how and when to remove this template message)
GitHub, Inc.
GitHub's current logo
Type of business
Subsidiary
Type of site
Collaborative version control
Available in
English
Founded
February 8, 2008; 13 years ago (2008-02-08) (as Logical Awesome LLC)
Headquarters
San Francisco, California, United States
Area served
Worldwide
Founder(s)
Tom Preston-Werner
Chris Wanstrath
P. J. Hyett
Scott Chacon
CEO
Nat Friedman
Key people
Mike Taylor (CFO)
Industry
Collaborative version control (GitHub) Blog host (GitHub Pages) Package repository (NPM)
GitHub, Inc. is a provider of Internet hosting for software development and version control using Git. It offers the distributed version control and source code management (SCM) functionality of Git, plus its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, continuous integration and wikis for every project.[4] Headquartered in California, it has been a subsidiary of Microsoft since 2018.[5]
GitHub offers its basic services free of charge. Its more advanced professional and enterprise services are commercial.[6] Free GitHub accounts are commonly used to host open-source projects.[7] As of January 2019, GitHub offers unlimited private repositories to all plans, including free accounts, but allowed only up to three collaborators per repository for free.[8] Starting from April 15, 2020, the free plan allows unlimited collaborators, but restricts private repositories to 2,000 minutes of GitHub Actions[9] per month.[10] As of January 2020, GitHub reports having over 40 million users[11] and more than 190 million repositories[12] (including at least 28 million public repositories),[13] making it the largest host of source code in the world.[14]
History
GitHub at AWS Summit
GitHub.com
Development of the GitHub.com platform began on October 19, 2007.[15][16][17] The site was launched in April 2008 by Tom Preston-Werner, Chris Wanstrath, P. J. Hyett and Scott Chacon after it had been made available for a few months prior as a beta release.[18]
Organizational structure
GitHub, Inc. was originally a flat organization with no middle managers; in other words, "everyone is a manager" (self-management).[19] Employees could choose to work on projects that interested them (open allocation), but salaries were set by the chief executive.[20][needs update]
In 2014, GitHub, Inc. introduced a layer of middle management.[21]
Finance
GitHub.com was a bootstrapped start-up business, which in its first years provided enough revenue to be funded solely by its three founders and start taking on employees.[22] In July 2012, four years after the company was founded, Andreessen Horowitz invested $100 million in venture capital.[4] In July 2015 GitHub raised another $250 million of venture capital in a series B round. Investors were Sequoia Capital, Andreessen Horowitz, Thrive Capital and other venture capital funds.[23] As of August 2016, GitHub was making $140 million in Annual Recurring Revenue.[24]
The GitHub service was developed by Chris Wanstrath, P. J. Hyett, Tom Preston-Werner and Scott Chacon using Ruby on Rails, and started in February 2008. The company, GitHub, Inc., has existed since 2007 and is located in San Francisco.[25]
The shading of the map illustrates the number of users as a proportion of each country's Internet population. The circular charts surrounding the two hemispheres depict the total number of GitHub users (left) and commits (right) per country.
On February 24, 2009, GitHub announced that within the first year of being online, GitHub had accumulated over 46,000 public repositories, 17,000 of which were formed in the previous month. At that time, about 6,200 repositories had been forked at least once and 4,600 had been merged.
That same year, the site was harnessed by over 100,000 users, according to Github, and had grown to host 90,000 unique public repositories, 12,000 having been forked at least once, for a total of 135,000 repositories.[26]
In 2010, GitHub was hosting 1 million repositories.[27] A year later, this number doubled.[28]ReadWriteWeb reported that GitHub had surpassed SourceForge and Google Code in total number of commits for the period of January to May 2011.[29] On January 16, 2013, GitHub passed the 3 million users mark and was then hosting more than 5 million repositories.[30] By the end of the year, the number of repositories were twice as much, reaching 10 million repositories.[31]
In 2012, GitHub raised $100 million in funding from Andreessen Horowitz with $750 million valuation.[32] On July 29, 2015, GitHub stated it had raised $250 million in funding in a round led by Sequoia Capital. Other investors of that round included Andreessen Horowitz, Thrive Capital, and IVP (Institutional Venture Partners).[33] The round valued the company at approximately $2 billion.[34]
In 2015, GitHub opened an office in Japan, its first outside of the U.S.[35] In 2016, GitHub was ranked No. 14 on the Forbes Cloud 100 list.[36] It has not been featured on the 2018, 2019 and 2020 lists.[37]
On February 28, 2018, GitHub fell victim to the third largest distributed denial-of-service (DDoS) attack in history, with incoming traffic reaching a peak of about 1.35 terabits per second.[38]
On June 19, 2018, GitHub expanded its GitHub Education by offering free education bundles to all schools.[39][40]
Acquisition by Microsoft
Microsoft on top of list of the ten organizations with the most open-source contributors on GitHub in 2016[41]
From 2012, Microsoft became a significant user of GitHub, using it to host open-source projects and development tools such as .NET Core, Chakra Core, MSBuild, PowerShell, PowerToys, Visual Studio Code, Windows Calculator, Windows Terminal and the bulk of its product documentation (now to be found on Microsoft Docs).[42][43]
On June 4, 2018, Microsoft announced its intent to acquire GitHub for US$7.5 billion. The deal closed on October 26, 2018.[44] GitHub continued to operate independently as a community, platform and business.[45] Under Microsoft, the service was led by Xamarin's Nat Friedman, reporting to Scott Guthrie, executive vice president of Microsoft Cloud and AI. GitHub's CEO, Chris Wanstrath, was retained as a "technical fellow", also reporting to Guthrie.
There have been concerns from developers Kyle Simpson, JavaScript trainer and author, and Rafael Laguna, CEO at Open-Xchange over Microsoft's purchase, citing uneasiness over Microsoft's handling of previous acquisitions, such as Nokia's mobile business or Skype.[46][47]
This acquisition was in line with Microsoft's business strategy under CEO Satya Nadella, which has seen a larger focus on the cloud computing services, alongside development of and contributions to open-source software.[48][5][43]Harvard Business Review argued that Microsoft was intending to acquire GitHub to get access to its user base, so it can be used as a loss leader to encourage use of its other development products and services.[49]
Concerns over the sale bolstered interest in competitors: Bitbucket (owned by Atlassian), GitLab (a commercial open source product that also runs a hosted service version) and SourceForge (owned by BIZX, LLC) reported that they had seen spikes in new users intending to migrate projects from GitHub to their respective services.[50][51][52][53]
In September 2019, GitHub acquired Semmle, a code analysis tool.[54] In February 2020, GitHub launched in India under the name GitHub India Private Limited.[55] In March 2020, GitHub announced that they were acquiring npm, a JavaScript packaging vendor, for an undisclosed sum of money.[56] The deal was closed on 15 April 2020.[57]
In early July 2020, the GitHub Archive Program was established, to archive its open source code in perpetuity.[58]
Mascot
GitHub's mascot is an anthropomorphized "octocat" with five octopus-like arms.[59][60] The character was created by graphic designer Simon Oxley as clip art to sell on iStock,[61] a website that enables designers to market royalty-free digital images. GitHub became interested in Oxley's work after Twitter selected a bird that he designed for their own logo.[62] The illustration GitHub chose was a character that Oxley had named Octopuss.[61] Since GitHub wanted Octopuss for their logo (a use that the iStock license disallows), they negotiated with Oxley to buy exclusive rights to the image.[61]
GitHub renamed Octopuss to Octocat,[61] and trademarked the character along with the new name.[59] Later, GitHub hired illustrator Cameron McEfee to adapt Octocat for different purposes on the website and promotional materials; McEfee and various GitHub users have since created hundreds of variations of the character, which are available on The Octodex.[63][64]
Services
Projects on GitHub.com can be accessed and managed using the standard Git command-line interface; all standard Git commands work with it. GitHub.com also allows users to browse public repositories on the site. Multiple desktop clients and Git plugins are also available. The site provides social networking-like functions such as feeds, followers, wikis (using wiki software called Gollum) and a social network graph to display how developers work on their versions ("forks") of a repository and what fork (and branch within that fork) is newest.
Anyone can browse and download public repositories but only registered users can contribute content to repositories. With a registered user account, users are able to have discussions, manage repositories, submit contributions to others' repositories, and review changes to code. GitHub.com began offering unlimited private repositories at no cost in January 2019 (limited to three contributors per project). Previously, only public repositories were free.[65][66][67] On April 14, 2020, GitHub made "all of the core GitHub features" free for everyone, including "private repositories with unlimited collaborators".[68]
The fundamental software that underpins GitHub is Git itself, written by Linus Torvalds, creator of Linux. The additional software that provides the GitHub user interface was written using Ruby on Rails and Erlang by GitHub, Inc. developers Wanstrath,[69] Hyett, and Preston-Werner.
Scope
This section is in list format, but may read better as prose. You can help by converting this section, if appropriate. Editing help is available.(August 2019)
The main purpose of GitHub.com is to facilitate the version control and issue tracking aspects of software development. Labels, milestones, responsibility assignment, and a search engine are available for issue tracking. For version control, Git (and by extension GitHub.com) allows pull requests to propose changes to the source code. Users with the ability to review the proposed changes can see a diff of the requested changes and approve them. In Git terminology, this action is called "committing" and one instance of it is a "commit". A history of all commits are kept and can be viewed at a later time.
In addition, GitHub supports the following formats and features:
Documentation, including automatically rendered README files in a variety of Markdown-like file formats (see README § On GitHub)
Wikis
GitHub Actions, which allows building continuous integration and continuous deployment pipelines for testing, releasing and deploying software without the use of third-party websites/platforms
Graphs: pulse, contributors, commits, code frequency, punch card, network, members
3D render files that can be previewed using a new integrated STL file viewer that displays the files on a "3D canvas".[73] The viewer is powered by WebGL and Three.js.
Photoshop's native PSD format can be previewed and compared to previous versions of the same file.
PDF document viewer
Security Alerts of known Common Vulnerabilities and Exposures in different packages
GitHub's Terms of Service do not require public software projects hosted on GitHub to meet the Open Source Definition. The terms of service state, "By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories."[74]
GitHub Enterprise
GitHub Enterprise is a self-managed version of GitHub.com with similar functionality. It can be run on an organization's own hardware or on a cloud provider, and it has been available since November 2011.[75] In November 2020, source code for GitHub Enterprise Server was leaked online in apparent protest against DMCA takedown of YouTube-dl. According to GitHub, the source code came from GitHub accidentally sharing the code with Enterprise customers themselves, not from an attack on GitHub servers.[76][77]
GitHub Pages
GitHub Pages is a static web hosting service offered by GitHub since 2008 to GitHub users for hosting user blogs, project documentation,[78][79] or even whole books created as a page.[80]
All GitHub Pages content is stored in a Git repository, either as files served to visitors verbatim or in Markdown format. GitHub is seamlessly integrated with Jekyll static web site and blog generator and GitHub continuous integration pipelines. Each time the content source is updated, Jekyll regenerates the website and automatically serves it via GitHub Pages infrastructure.[81]
As with the rest of GitHub, it includes both free and paid tiers of service, instead of being supported by web advertising. Web sites generated through this service are hosted either as subdomains of the github.io domain, or as custom domains bought through a third-party domain name registrar.[82] When custom domain is set on a GitHub Pages repo a Let's Encrypt certificate for it is generated automatically. Once the certificate has been generated Enforce HTTPS can be set for the repository's website to transparently redirect all HTTP requests to HTTPS.[83][84]
Gist
GitHub also operates a pastebin-style site called Gist.[18], which is for code snippets, as opposed to GitHub proper, which is for larger projects.[citation needed] Tom Preston-Werner débuted the feature at a Ruby conference in 2008.[85]
Gist builds on the traditional simple concept of a pastebin by adding version control for code snippets, easy forking, and TLS encryption for private pastes. Because each "gist" has its own Git repository, multiple code snippets can be contained in a single paste and they can be pushed and pulled using Git.[citation needed]
Unregistered users were able to upload Gists until February 18, 2018, when uploading gists became available only to logged-in users, to mitigate spamming.[86]
Education program
GitHub launched a new program called the GitHub Student Developer Pack to give students free access to popular development tools and services. GitHub partnered with Bitnami, Crowdflower, DigitalOcean, DNSimple, HackHands, Namecheap, Orchestrate, Screenhero, SendGrid, Stripe, Travis CI and Unreal Engine to launch the program.[87]
In 2016 GitHub announced the launch of the GitHub Campus Experts program[88] to train and encourage students to grow technology communities at their universities. The Campus Experts program is open to university students of 18 years and older across the world.[89] GitHub Campus Experts are one of the primary ways that GitHub funds student oriented events and communities, Campus Experts are given access to training, funding, and additional resources to run events and grow their communities. To become a Campus Expert applicants must complete an online training course consisting of multiple modules designed to grow community leadership skills.
GitHub Marketplace service
GitHub also provides some software as a service integrations for adding extra features to projects. Those services include:
Waffle.io: Project management for software teams. Automatically see pull requests, automated builds, reviews, and deployments across all of your repositories in GitHub.
Rollbar: Integrate with GitHub to provide real time debugging tools and full-stack exception reporting. It is compatible with all well used code languages, such as JavaScript, Python, .NET, Ruby, PHP, Node.js, Android, iOS, Go, Java, and C#.
Travis CI: To provide confidence for your apps while doing test and ship. Also gives full control over the build environment, to adapt it to the code. Supported languages: Go, Java, JavaScript, Objective-C, Python, PHP, Ruby, and Swift.
GitLocalize: Developed for teams that are translating their content from one point to another. GitLocalize automatically syncs with your repository so you can keep your workflow on GitHub. It also keeps you updated on what needs to be translated.
GitHub Sponsors
GitHub Sponsors allows users to make monthly money donations to projects hosted on GitHub.[90] The public beta was announced on May 23, 2019 and currently the project accepts wait list registrations. The Verge said that GitHub Sponsors "works exactly like Patreon" because "developers can offer various funding tiers that come with different perks, and they’ll receive recurring payments from supporters who want to access them and encourage their work" except with "zero fees to use the program". Furthermore, GitHub offer incentives for early adopters during the first year: it pledges to cover payment processing costs, and match sponsorship payments up to $5,000 per developer. Furthermore, users still can use other similar services like Patreon and Open Collective and link to their own websites.[91][92]
GitHub Archive Program
In July 2020, GitHub stored a February archive of the site[58] in an abandoned mountain mine in Svalbard, Norway, part of the Arctic World Archive and not far from the Svalbard Global Seed Vault. The archive contained the code of all active public repositories, as well as that of dormant, but significant public repositories. The 21TB of data was stored on piqlFilm archival film reels as matrix (2D) barcode (Boxing barcode), and is expected to last 500–1,000 years.[93][94][95][96]
The GitHub Archive Program is also working with partners on Project Silica, in an attempt to store all public repositories for 10,000 years. It aims to write archives into the molecular structure of quartz glass platters, using a high-precision laser that pulses a quadrillion (1,000,000,000,000,000) times per second.[96]
Controversies
This article's Criticism or Controversy section may compromise the article's neutral point of view of the subject. Please integrate the section's contents into the article as a whole, or rewrite the material.(April 2021)
Harassment allegations
In March 2014, GitHub programmer Julie Ann Horvath alleged that founder and CEO Tom Preston-Werner and his wife Theresa engaged in a pattern of harassment against her that led to her leaving the company.[97] In April 2014, GitHub released a statement denying Horvath's allegations.[98][99] However, following an internal investigation, GitHub confirmed the claims. GitHub's CEO Chris Wanstrath wrote on the company blog, "The investigation found Tom Preston-Werner in his capacity as GitHub's CEO acted inappropriately, including confrontational conduct, disregard of workplace complaints, insensitivity to the impact of his spouse's presence in the workplace, and failure to enforce an agreement that his spouse should not work in the office."[100] Preston-Werner subsequently resigned from the company.[101] The firm then announced it would implement new initiatives and trainings "to make sure employee concerns and conflicts are taken seriously and dealt with appropriately."[101]
Sanctions
On July 25, 2019, a developer based in Iran wrote on Medium about how GitHub blocked his private repositories, and prohibited access to GitHub Pages.[102] Soon after, GitHub confirmed that it was now blocking developers in Iran, Crimea, Cuba, North Korea, and Syria from accessing private repositories.[103] However, GitHub reopened access to GitHub Pages days later, for public repositories regardless of location. It was also revealed that using GitHub while visiting sanctioned countries could result in similar action occurring on a user's account. GitHub responded to complaints and the media through a spokesperson, saying:
GitHub is subject to US trade control laws, and is committed to full compliance with applicable law. At the same time, GitHub's vision is to be the global platform for developer collaboration, no matter where developers reside. As a result, we take seriously our responsibility to examine government mandates thoroughly to be certain that users and customers are not impacted beyond what is required by law. This includes keeping public repositories services, including those for open source projects, available and accessible to support personal communications involving developers in sanctioned regions.[104][105]
Developers who feel that they should not have restrictions can appeal for the removal of said restrictions, including those who only travel to, and do not reside in, those countries. GitHub has forbidden the use of VPNs and IP proxies to access the site from sanctioned countries, as purchase history and IP addresses are how they flag users, among other sources.[106]
Censorship
Main article: Censorship of GitHub
On December 3, 2014, Russia blacklisted GitHub.com because GitHub initially refused to take down user-posted suicide manuals.[107] After a day, Russia withdrew its block,[108] and GitHub began blocking specific content and pages in Russia.[109] On December 31, 2014, India blocked GitHub.com along with 31 other websites over pro-ISIS content posted by users;[110] the block was lifted three days later.[111] On October 8, 2016, Turkey blocked GitHub to prevent email leakage of a hacked account belonging to the country's energy minister.[112]
On March 26, 2015, a large-scale DDoS attack was launched against GitHub.com that lasted for just under five days.[113] The attack, which appeared to originate from China, primarily targeted GitHub-hosted user content describing methods of circumventing Internet censorship.[114][115][116]
On April 19, 2020, Chinese police detained Chen Mei and Cai Wei (volunteers for Terminus 2049, a project hosted on GitHub), and accused them of "picking quarrels and provoking trouble". Cai and Chen archived news articles, interviews, and other materials published on Chinese media outlets and social media platforms that have been removed by censors in China.[117]
ICE contract
GitHub has a $200,000 contract with U.S. Immigration and Customs Enforcement (ICE) for the use of their on-site product GitHub Enterprise Server. This contract was renewed in 2019, despite internal opposition from many GitHub employees. In an email sent to employees, later posted to the GitHub blog on October 9, 2019, CEO Nat Friedman stated "The revenue from the purchase is less than $200,000 and not financially material for our company." He announced that GitHub had pledged to donate $500,000 to "nonprofit groups supporting immigrant communities targeted by the current administration."[118] In response at least 150 GitHub employees signed an open letter re-stating their opposition to the contract, and denouncing alleged human rights abuses by ICE. As of November 13, 2019, five workers had resigned over the contract.[119][120][121]
The ICE contract dispute came into focus again in June 2020 due to the company's decision to abandon "master/slave" branch terminology, spurred by the George Floyd protests and Black Lives Matter movement.[122] Detractors of GitHub describe the branch renaming to be a form of performative activism and have urged GitHub to cancel their ICE contract instead.[123] An open letter from members of the open source community was shared on GitHub in December 2019, demanding that the company drop their contract with ICE and provide more transparency into how they conduct business and partnerships. The letter has been signed by over 700 people.[124]
Capitol riot comments and employee firing
In January 2021, GitHub fired one of its employees after he expressed concern for colleagues as a violent mob stormed the U.S. Capitol, calling some of the rioters "Nazis".[125] After an investigation, GitHub's COO said there were "significant errors of judgment and procedure" with the company's decision to fire the employee. As a result of the investigation, GitHub reached out to the employee and the company's head of human resources resigned.[126][127]
Developed projects
Atom, a free and open-source text and source code editor
Electron, an open-source framework to use JavaScript-based websites as desktop applications.
Prominent users
This section relies too much on references to primary sources. Please improve this section by adding secondary or tertiary sources.(April 2021) (Learn how and when to remove this template message)
Some prominent open source organizations and projects use GitHub as a primary place for collaboration, including:
Apertium (migrated from SourceForge)
The Apache Software Foundation[128] (finished migration in February 2019)[129][130]
^Gousios, Georgios; Vasilescu, Bogdan; Serebrenik, Alexander; Zaidman, Andy. "Lean GHTorrent: GitHub Data on Demand"(PDF). The Netherlands: Delft University of Technology & †Eindhoven University of Technology: 1. Archived(PDF) from the original on April 25, 2020. Retrieved July 9, 2014. During recent years, GITHUB (2008) has become the largest code host in the world.Cite journal requires |journal= (help)
^ abCatone, Josh (July 24, 2008). "GitHub Gist is Pastie on Steroids". Archived from the original on March 22, 2021. Retrieved February 13, 2018. GitHub hosts about 10,000 projects and officially launched in April of this year after a beta period of a few months.
^Epling, Jeremy (April 15, 2020). "npm has joined GitHub". The GitHub Blog. GitHub, Inc. Archived from the original on November 20, 2020. Retrieved July 16, 2020.
^Bell, Peter; Beer, Brent (November 11, 2014). Introducing GitHub: A Non-Technical Guide. "O'Reilly Media, Inc.". ISBN 9781491949832. Archived from the original on August 1, 2020. Retrieved June 15, 2019.
^Pipinellis, Achilleas (September 30, 2015). GitHub Essentials. Packt Publishing Ltd. ISBN 9781783553723. Archived from the original on August 1, 2020. Retrieved June 15, 2019.
^Sawant, Uday R. (June 30, 2016). Ubuntu Server Cookbook. Packt Publishing Ltd. ISBN 9781785887987. Archived from the original on August 1, 2020. Retrieved June 15, 2019.
^All GitHub Pages sites, including sites that are correctly configured with a custom domain, support HTTPS and HTTPS enforcement."Securing your GitHub Pages site with HTTPS". help.github.com. GitHub. Archived from the original on March 22, 2021. Retrieved June 1, 2020.