Git/Github 101

More than Code Storage

Created by Tom Wilson / @twilson63

On Tap

  • What is Git?
  • What is Github?
  • Why should we use it for IT Documentation?

What is Git?

Distributed Version Control

Old School

Central

Distributed

History

  • Born 2005
  • Speed
  • Simple design
  • Strong support of linear Development
  • Fully Distributed
  • Able to handle large projects

Warning

Git thinks of its data more like a set of snapshots of a mini filesystem

The mechanism that Git uses for this checksumming is called a SHA-1 hash. This is a 40-character string composed of hexadecimal characters (0–9 and a–f) and calculated based on the contents of a file or directory structure in Git. A SHA-1 hash looks something like this:

24b9da6552252987aa493b52f8696cd6d3b00373

3 States

Commands

  • Init
  • Add
  • Commit
  • Push
  • Clone
  • Pull
  • Checkout
  • Log
  • Status
  • Remote
  • Tag

What is Github?

You may have heard that GitHub is a code sharing and publishing service, or that it’s a social networking site for programmers. Both statements are true, but neither explain exactly why GitHub is special.

TechCrunch

http://techcrunch.com/2012/07/14/what-exactly-is-github-anyway/

git + social = github

or

git + collaboration = github

Windows Client

http://windows.github.com

Why use Github for IT Documentation?

  • Idea
  • Collaboration
  • Ship

Demo

Thank You

Credits

http://git-scm.com

http://github.com

http://jpg.to