2. What is Git?
• A Version Control System like SVN - ONLY
BETTER.
• Everything is faster and easier:
– Committing.
– Reverting.
– Branching.
– Merging.
• Work disconnected = Offline.
3. What is GitHub?
• A web-based git hosting service.
• Like Assembla, only better.
• Uses a simple workflow = GitHub Flow.
• Extremely popular.
• A community of devs sharing
code.
4. But…
• Git is a Swiss Army Knife.
• Once you master it,
it’ll make your life easier.
21. GitHub Flow
• ‘master’ branch is always stable.
• Devs use ‘feature’* branches.
• Feature branches pull from master freely.
• Feature branches merge back to master via
Pull Request = PR.
• Pull Request reviewed by peer + auto tests.
‘master’ branch is always stable.
22. A day in the life 1/2
• Brew a hot cup of coffee.
• Pull latest from origin master.
• Need to work on new feature
• Branch = create new feature branch.
• Code and commit in small increments.
• Lunch!
23. A day in the life 2/2
• Brew a hot cup of coffee.
• Pull latest from origin master.
• Resolve tiny conflicts easily.
• Verify quality with unit/integ. tests.
• Submit Pull Request (PR) for review.
• Nag reviewers to review.
• PR accepted? Verify master green on build server
• Celebrate the day with a drink.