Skip to content

thisisharsh7/git-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Git Master - Interactive Git Learning Platform

A comprehensive Git learning platform built with Next.js 15, shadcn/ui, and Tailwind CSS. This interactive playground helps beginner developers master Git version control through hands-on practice, visual learning, and real-time feedback.

๐ŸŒ Live Demo

๐Ÿš€ Try Git Master Live

Experience the full interactive Git learning platform deployed on Vercel with global CDN for fast loading worldwide.

๐ŸŽฏ Overview

Git Master is designed specifically for beginner developers who want to learn Git in a safe, interactive environment. Unlike traditional tutorials, this platform provides real Git command execution with immediate visual feedback.

๐Ÿš€ Features

๐ŸŽฎ Interactive Playground

  • Live Terminal: Execute real Git commands with immediate feedback
  • Visual Repository State: See branches, commits, staging area, and working directory
  • Command History: Track all executed commands with success/error status
  • Quick Commands: One-click buttons for common Git operations
  • Safe Environment: Practice without risk of breaking real repositories

๐Ÿ“š Structured Lessons

  • Progressive Learning: From Git basics to advanced workflows
  • 4 Comprehensive Lessons: Git Basics, Branching, Remote Repos, Advanced Git
  • Progress Tracking: Monitor learning advancement
  • Duration Estimates: Plan your learning sessions

๐Ÿ“‹ Command Reference

  • 20+ Git Commands: Complete documentation with examples
  • Search & Filter: Find commands by name or category
  • Difficulty Levels: Beginner, Intermediate, Advanced
  • Usage Examples: Multiple practical examples for each command

๐Ÿ“Š Visual Learning

  • Git Workflow Diagrams: Understand the three-tree architecture
  • Commit Tree Visualization: Interactive commit history and branches
  • Branching Strategies: Git Flow vs GitHub Flow comparisons
  • Merge vs Rebase: Visual explanations of integration strategies

๐Ÿ› ๏ธ Tech Stack

  • Next.js 15 - Latest React framework with App Router
  • TypeScript - Full type safety
  • shadcn/ui - Beautiful, accessible UI components
  • Tailwind CSS - Utility-first CSS framework
  • React Hooks - Modern state management

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm, yarn, or pnpm

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd nextjs-shadcn-project
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Open your browser: Navigate to http://localhost:3000

๐Ÿ“š Learning Path

1. Git Fundamentals (Beginner)

  • What is version control?
  • Repository, Working Directory, Staging Area
  • Basic commands: git init, git add, git commit, git status

2. Branching & Merging (Beginner)

  • Understanding branches
  • Creating and switching branches: git branch, git checkout
  • Merging strategies: git merge
  • Conflict resolution

3. Remote Repositories (Intermediate)

  • Working with remotes: git remote, git clone
  • Collaboration: git push, git pull, git fetch
  • Remote workflows

4. Advanced Git (Advanced)

  • Rebasing: git rebase
  • Stashing: git stash
  • Cherry-picking: git cherry-pick
  • Reset vs Revert: git reset, git revert

๐ŸŽฏ Target Audience

  • Beginner Developers: New to version control
  • Students: Learning software development
  • Career Changers: Transitioning to tech
  • Self-Taught Developers: Need structured Git learning
  • Educators: Teaching Git concepts
  • Team Leads: Onboarding new developers

๐Ÿ“ฑ Platform Sections

Home Page (/)

  • Platform overview and features
  • Learning path guidance
  • Getting started information

Git Playground (/git-playground)

  • Playground Tab: Interactive terminal and repository visualization
  • Lessons Tab: Structured learning content
  • Commands Tab: Complete Git command reference
  • Visualization Tab: Interactive diagrams and workflows

๐ŸŽจ Design Features

  • Beginner-Friendly: Clean, uncluttered interface
  • Visual Learning: Heavy use of diagrams and visual feedback
  • Color-Coded: Consistent color system for different states
  • Responsive: Works on desktop, tablet, and mobile
  • Dark Mode: Full dark mode support

๐Ÿ”ง Customization

Adding New Git Commands

const newCommand: GitCommand = {
  command: 'git example',
  description: 'Example command description',
  category: 'Basic',
  usage: 'git example [options]',
  examples: ['git example', 'git example --flag'],
  difficulty: 'Beginner'
};

Adding New Lessons

const newLesson: Lesson = {
  id: 'lesson-id',
  title: 'Lesson Title',
  difficulty: 'Beginner',
  description: 'Lesson description',
  duration: '15 min',
  topics: ['Topic 1', 'Topic 2'],
  commands: ['git command1', 'git command2'],
  completed: false
};

๐Ÿš€ Future Enhancements

  • User Accounts: Save progress and custom repositories
  • Real Git Integration: Execute actual Git commands
  • Collaborative Features: Share repositories with others
  • Mobile App: Native mobile experience
  • AI Assistant: Intelligent help and suggestions
  • Gamification: Achievements and progress rewards

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  1. Add New Lessons: Create additional learning content
  2. Improve Visualizations: Enhance diagrams and interactive elements
  3. Expand Command Reference: Add more Git commands and examples
  4. Fix Bugs: Report and fix issues
  5. Improve Documentation: Enhance guides and explanations

๐Ÿ“„ License

This project is open source and available under the MIT License.

๐Ÿ™ Acknowledgments


Start your Git journey today! Visit the playground and begin mastering version control with interactive, visual learning.

About

A vibe coded git playground where begineer can learn and try git command with visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages