GitHub - Github Tutorial

GitHub is a web-based Git repository hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.

GitHub offers both plans for private repositories, and free accounts which are commonly used to host open-source software projects. As of April 2016, GitHub reports having more than 14 million users and more than 35 million repositories, making it the largest host of source code in the world.

The trademark mascot of GitHub is Octocat, an anthropomorphized cat with cephalopod limbs.

Services

GitHub

Development of the GitHub platform began on 1 October 2007. The site was launched in April 2008 by Tom Preston-Werner, Chris Wanstrath, and PJ Hyett after it had been made available for a few months prior as a beta release.

Projects on GitHub can be accessed and manipulated using the standard Git command-line interface and all of the standard Git commands work with it. GitHub also allows registered and non-registered users to browse public repositories on the site. Multiple desktop clients and Git plugins have also been created by GitHub and other third parties that integrate with the platform.

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.

A user must create an account in order to contribute content to the site, but public repositories can be browsed and downloaded by anyone. With a registered user account, users are able to discuss, manage, create repositories, submit contributions to others' repositories, and review changes to code.

The software that runs GitHub was written using Ruby on Rails and Erlang by GitHub, Inc. developers Chris Wanstrath, PJ Hyett, and Tom Preston-Werner.

Scope

GitHub is mostly used for code.

In addition to source code, GitHub supports the following formats and features:

  • Documentation, including automatically-rendered README files in a variety of Markdown-like file formats (see README files on GitHub)
  • Issue tracking (including feature requests) with labels, milestones, assignees and a search engine.
  • Wikis
  • Pull requests with code review and comments.
  • Commits history.
  • Graphs: pulse, contributors, commits, code frequency, punch card, network, members.
  • Integrations Directory
  • Unified and split diffs.
  • Email notifications.
  • Option to subscribe someone to notifications by @ mentioning them.
  • Emojis
  • Small Websites can be hosted from public repositories on GitHub. The URL format is http://username.github.io.
  • Nested task-lists within files
  • Visualization of geospatial data
  • 3D render files that can be previewed using a new integrated STL file viewer that displays the files on a "3D canvas". 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.
  • GitHub Pages: They are designed to host your personal, organization, or project pages directly from a GitHub repository.[1]

Licensing of repositories

GitHub's Terms of Service do not require public software projects hosted on GitHub to meet the Open Source Definition. For that reason, it is advisable for users and developers intending to use a piece of software found on GitHub to read the software license in the repository (usually found in a top-level file called "LICENSE", "LICENSE.txt", or similar) to determine if it meets their needs. The Terms of Service state, "By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories."

GitHub Enterprise

GitHub Enterprise is similar to GitHub's public service but is designed for use by large-scale enterprise software development teams where the enterprise wishes to host their repositories behind a corporate firewall.

Gist

GitHub also operates other services: a pastebin-style site called Gist that is for hosting code snippets (GitHub proper is for hosting larger projects), and a slide hosting service called Speaker Deck.

Tom Preston-Werner presented the then-new Gist feature at a punk rock Ruby conference in 2008. Gist builds on the traditional simple concept of a pastebin by adding version control for code snippets, easy forking, and SSL 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. Further, forked code can be pushed back to the original author in the form of a patch, so gists (pastes) can become more like mini-projects.

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.

History

  • 24 February 2009: GitHub team members announced, in a talk at Yahoo! headquarters, 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 alone. At that time, about 6,200 repositories had been forked at least once and 4,600 had been merged.
  • 5 July 2009: GitHub announced that the site was now harnessed by over 100,000 users.
  • 27 July 2009: In another talk delivered at Yahoo!, Tom Preston-Werner announced that GitHub had grown to host 90,000 unique public repositories, 12,000 having been forked at least once, for a total of 135,000 repositories.
  • 25 July 2010: GitHub announced that it hosts 1 million repositories.
  • 20 April 2011: GitHub announced that it is hosting 2 million repositories.
  • 2 June 2011: ReadWriteWeb reported that GitHub had surpassed SourceForge and Google Code in total number of commits for the period January to May 2011.
  • 9 July 2012: Peter Levine, general partner at GitHub's investor Andreessen Horowitz, stated that GitHub had been growing revenue at 300% annually since 2008 "profitably nearly the entire way".
  • 16 January 2013: GitHub announced it had passed the 3 million users mark and was then hosting more than 5 million repositories.
  • 23 December 2013: GitHub announced it had reached 10 million repositories.
  • In June 2015, GitHub opened an office in Japan that is its first office outside of the U.S.
  • 29 July 2015: GitHub announced it had raised $250 million in funding in a round led by Sequoia Capital. The round valued the company at approximately $2 billion.
  • In 2016, GitHub was ranked #14 on the Forbes Cloud 100 list.

Censorship

  • 3 December 2014: GitHub was blocked in Russia for a few days over user-posted suicide manuals.
  • 31 December 2014: GitHub was blocked in India (along with 31 other Websites) over pro-ISIS content posted by users. On 10 January 2015, GitHub was unblocked. Again, on 12 Sep 2015, GitHub was blocked all over India. The site was unblocked soon after.
  • 26 March 2015: GitHub fell victim to a massive distributed denial-of-service (DDOS) attack that lasted for more than 118 hours. The attack, which appeared to originate from China, primarily targeted GitHub-hosted user content describing methods of circumventing Internet censorship.
  • 8 October 2016: Github access is blocked by the Turkish government to prevent email leakage of a hacked account belonging to the country's Energy Minister.

Departure of Tom Preston-Werner

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. In April 2014, GitHub released a statement denying Horvath's allegations. 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." Preston-Werner then resigned from the company.

Company

GitHub, Inc. was originally known as Logical Awesome LLC.

Organizational structure

As of December 2012, GitHub, Inc. was a flat organization with no middle managers; in other words, "everyone is a manager" (self-management). Employees can choose to work on projects that interest them (open allocation). However, salaries are set by the chief executive.

In 2014, GitHub, Inc. introduced a layer of middle management.

Finance

GitHub.com is a start-up business, which in its first years provided enough revenue to be funded solely by its three founders and start taking on employees. In July 2012, four years after the company was founded, Andreessen Horowitz invested $100M in venture capital. In July 2015 GitHub raised another $250M of venture capital in a series B round. Investors were Sequoia Capital, Andreessen Horowitz, Thrive Capital and other venture capital funds.

0 komentar: