Skip to content

mohit12-cpu/Git-Master

Repository files navigation

Git Master – Learn Git Like a Pro

Git Master is an interactive front-end website designed to teach users Git from installation to advanced usage, covering commands, workflows, and IDE integration (especially VS Code).

Features

  • Interactive Learning: Step-by-step guides for Git installation on Windows, Mac, and Linux
  • Visual Workflow: 3D interactive elements to represent Git workflow concepts
  • Command Reference: Comprehensive guide to essential and advanced Git commands
  • VS Code Integration: Instructions for using Git inside VS Code with GUI and Terminal
  • Advanced Topics: Best practices, branching strategies, Git hooks, and CI/CD integration
  • Responsive Design: Works on desktop, tablet, and mobile devices
  • Interactive Terminal: Simulated command line environment to practice Git commands
  • Git Master Terminal: Fully interactive in-browser Git simulation with learning missions
  • Dark/Light Mode: Toggle between themes based on your preference

Technologies Used

  • HTML5: Semantic structure and layout
  • CSS3: Styling, animations, and responsive design
  • JavaScript: Front-end interactivity and dynamic UI updates
  • Font Awesome: Icon library for UI elements

Installation

To run Git Master locally:

  1. Clone or download this repository
  2. Open index.html directly in your browser, or
  3. Use a local HTTP server:

Using Python 3:

python -m http.server 8000

Using Node.js (with http-server):

npx http-server

Access the website at http://localhost:8000

Project Structure

p:\Git Master\
├── index.html          # Main entry point
├── terminal.html       # Git Master Terminal page
├── README.md           # Project documentation
├── css/
│   └── style.css       # All styles and 3D effects
└── js/
    ├── main.js         # Core logic and interactivity
    └── terminal.js     # Git Master Terminal simulation engine

Website Sections

  1. Homepage: Introduction with 3D Git branching visualization
  2. Installation: Step-by-step guides for Windows, Mac, and Linux
  3. Basic Workflow: Explanation of repository, staging, commit, branch, merge, pull, and push
  4. Git Commands: Essential and advanced Git commands with examples
  5. VS Code Integration: Using Git inside VS Code with panels and features
  6. Advanced Features: Best practices, remote collaboration, Git hooks, and CI/CD
  7. Git Master Terminal: Interactive terminal to practice Git commands with learning missions
  8. FAQ/Resources: Common questions and additional learning resources

Git Master Terminal

The Git Master Terminal is a fully interactive in-browser Git simulation that allows users to practice Git commands in a safe environment. Key features include:

  • Realistic terminal interface with command history
  • Simulation of key Git commands with appropriate responses
  • Learning missions to guide users through Git workflows
  • Visual feedback and achievement tracking
  • Integration with the main website's navigation

Available Commands

  • git init - Initialize a new Git repository
  • git status - Show repository status
  • git add - Add files to staging area
  • git commit - Commit staged changes
  • git log - Show commit history
  • git branch - List or create branches
  • git checkout - Switch branches
  • git merge - Merge branches
  • git remote - Manage remote repositories
  • git push - Push commits to remote repository
  • git pull - Pull changes from remote repository

Learning Missions

The terminal includes guided learning missions to help users master Git concepts:

  1. Initialize Repository
  2. Create and Add File
  3. Make First Commit
  4. Create New Branch
  5. Switch Branches
  6. Merge Branches

Contributing

This project is designed as a learning resource for Git beginners. If you'd like to contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a pull request

License

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

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published