Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to Git and GitHub

Intro to Git and GitHub

By GovLab research fellow Mehan Jayasuriya

GitHub is one of the most popular new platforms in the world of software development. It provides a suite of tools that allow computer programmers to work collaboratively on massive projects with peers around the globe. Increasingly, GitHub is also being used by non-programmers, as a collaborative platform for everything from policy and legal documents to wedding invitations. In this 30-minute tutorial, we'll explain what GitHub is, why it's so powerful and show you how to start using it for your own projects.

Beth Simone Noveck

September 11, 2013
Tweet

More Decks by Beth Simone Noveck

Other Decks in Technology

Transcript

  1. What is Git? Distributed version-control system Developed by Linus Torvalds

    in 2005 Initially used for Linux kernel development
  2. What is GitHub? Founded in 2008 Web-hosting for Git repositories

    Social networking features 3 million users / 5 million repos
  3. Why use GitHub? Online backup for version history Ability to

    collaborate on projects with multiple developers Ability to easily fork existing projects Social platform for discovering the work of millions of fellow open-source developers
  4. Anatomy of a Push GitHub repo git add . git

    commit -m “first commit!” git push origin master
  5. Demo touch  README git  init git  add  README git  commit

     -­‐m  "first  commit" git  remote  add  origin   [email protected]:mehan/test.git git  push  origin  master