Welcome to Day 1 of the Git Workshop! Today we focus on mastering Git on your own machine — no GitHub account required.
By the end of today you will be able to:
- Create a Git repository and understand the working directory, staging area, and commit history.
- Stage and commit changes with meaningful messages.
- Inspect project history using
log,show,diff, andblame. - Create and switch between branches, then merge them.
- Safely travel back in time using
checkout,revert, andreset.
| Time | Topic |
|---|---|
| 10:00 – 10:25 | Setup & Introduction |
| 10:25 – 11:00 | Core Concepts & First Steps |
| 11:00 – 11:30 | Exploring History |
| 11:30 – 12:15 | Branching & Merging |
| 12:15 – 12:45 | Lunch Break |
| 12:45 – 13:30 | Going Back to a Previous Commit |
| 13:30 – 14:00 | Merge Conflict Preview & Wrap-up |
| # | Exercise | Topic |
|---|---|---|
| 1 | Your First Repository | init, add, commit, diff, .gitignore |
| 2 | Reading the Story of Your Code | log, show, diff, blame |
| 3 | Parallel Universes | branch, switch, merge |
| 4 | Going Back in Time | checkout, revert, reset, merge conflicts |
Note: You do not need a GitHub account for Day 1. Everything runs locally on your machine.