Save 37% off PRO during our Black Friday Sale! »

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


  1. Intro to Git and GitHub Gov 3.0, September 2013

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

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

    Social networking features 3 million users / 5 million repos
  4. 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
  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. What’s forking?

  14. None
  15. None
  16. None
  17. How does it work? GitHub repo Repository Your laptop

  18. How does it work? GitHub repo

  19. How does it work? GitHub repo Terminal

  20. How does it work? GitHub repo Terminal GitHub for Mac

  21. Basic Git commands GitHub repo

  22. Push GitHub repo

  23. Anatomy of a Push GitHub repo git add git commit

    git push
  24. Anatomy of a Push GitHub repo git add . git

    commit -m “first commit!” git push origin master
  25. Pull GitHub repo

  26. Clone GitHub repo GitHub repo

  27. Pull request GitHub repo GitHub repo

  28. Demo

  29. Demo touch  README git  init git  add  README git  commit

     -­‐m  "first  commit" git  remote  add  origin git  push  origin  master
  30. None
  31. Additional Resources

  32. Questions?