9c9640df8396ffd82a564453e85d0d4dbc895cb1
Git Workshop
A hands-on, progressive git workshop with practical challenges ranging from basic to advanced concepts.
Workshop Structure
Each module is a self-contained challenge that teaches specific git concepts:
- Module 01: Git Basics (init, add, commit, status)
- Module 02: Understanding the Staging Area
- Module 03: Viewing History (log, diff)
- Module 04: Branching Basics
- Module 05: Merging
- Module 06: Merge Conflicts
- Module 07: Rebasing
- Module 08: Interactive Rebase
- Module 09: Cherry-pick
- Module 10: Reset vs Revert
- Module 11: Stash
- Module 12: Working with Remotes
How to Use This Workshop
- Navigate to a module directory (e.g.,
module-01-basics) - Read the
README.mdto understand the challenge - Run
./setup.ps1to create the challenge environment - Complete the challenge using git commands
- Run
./verify.ps1to check if you've solved it correctly - Move to the next module
Requirements
- Git installed and configured
- PowerShell (Windows PowerShell 5.1+ or PowerShell Core 7+)
- Basic command line knowledge
Getting Started
Start with Module 01:
cd module-01-basics
.\setup.ps1
Follow the instructions in each module's README.md file.
For Workshop Facilitators
Before distributing this workshop to attendees:
- Delete the root
.gitdirectory: This prevents confusion and ensures attendees practice git from scratchRemove-Item -Path .git -Recurse -Force - Each module's
challenge/directory will become its own independent git repository when attendees runsetup.ps1 - This isolation ensures each module provides a clean learning environment
Description
Languages
PowerShell
100%