Git and GitHub
Rick Umali
@rickumali
June 21, 2016
Worcester PHP Meetup
Hello!
VIC-20, C-64, MTS
VVVVVV, LIMBO
C, Perl, Java, PHP, Ruby
Git versus GitHub
April 2005
Linus Torvalds, Junio Hammano
Open Source
February 2008
Tom Preston-Werner, Chris Wanstrath, PJ Hyett
Commercial
Motivating Example
Agenda
Basics
Branching/Merging
Collaborating with GitHub
Basics
Making a Repository
Adding Files to the Repository
Getting Status
Command Line versus GUI
“Everything is local”
git init
No Server Required!
git add
git commit
Staging Area (Index)
Getting Status
git status; git diff; git log
Git GUIs
gitk
git gui
Sourcetree
https://www.atlassian.com/software/sourcetree
Many others
https://git-scm.com/downloads/guis
Branching
and
Merging
Fast Branching
Visualizing
Mergetool
“Forks in the road”
Collaborating
Using
GitHub
Working with Remote Repositories
Cloning projects
Pull request
GitHub alternatives
Sharing A Repository
Clones/Pull Requests
GitHub Alternatives
GitLab
http://gitlab.com/
BitBucket
https://bitbucket.org/
Hosting Your Own
Community Edition of GitLab
GitHub for your enterprise
Thank You

Git and GitHub