Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. ~wikipedia
GitHub is a web-based Git...It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. ~wikipedia

$ git init$ git clone
username@host:/path/to/repo
Working Directory
Staging
Repo
add file(s) from working directory to staging
$ git add <filename>$ git add *commit file(s) from staging to local repository
$ git commit -m "Commit message"push changes to remote repository
$ git push origin master
Photo openshift.com
used to develop features isolated from each other

$ git checkout -b feature_x$ git pull$ git merge <branch>
Photo githubusercontent.com