Skip to content

Interactive CLI for practicing Git with hands-on exercises in Docker. Perfect for learners seeking to improve their Git skills. πŸš€πŸ™

License

Notifications You must be signed in to change notification settings

mtain04/Git-Tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Git-Tutor: Learn Git Interactively with Docker 🧠

Download Latest Release

Table of Contents

Overview

Git-Tutor is an interactive command-line tool designed to help you learn Git through hands-on exercises. With Git-Tutor, you can practice Git commands safely in isolated Docker environments. This tool automates setup and validation, allowing you to focus on learning.

Features

  • Beginner-Friendly: Perfect for those new to Git.
  • Interactive CLI: Engage with the tool directly from your command line.
  • Docker Support: Run exercises in isolated environments to avoid conflicts.
  • Hands-On Learning: Complete practical exercises to reinforce your knowledge.
  • Automated Setup: Get started quickly with no complicated configurations.
  • Version Control Basics: Learn essential Git commands and workflows.
  • Progress Tracking: Keep track of your completed exercises and skills.

Installation

To install Git-Tutor, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/mtain04/Git-Tutor/releases
    cd Git-Tutor
  2. Install Dependencies: Make sure you have https://github.com/mtain04/Git-Tutor/releases and Docker installed on your machine. Then run:

    npm install
  3. Run the Tool: Start the tool with:

    npm start

For the latest release, download the necessary files from the Releases section.

Usage

After installation, you can begin using Git-Tutor. Here’s how:

  1. Start the CLI: Run the command:

    git-tutor
  2. Select an Exercise: You will see a list of available exercises. Choose one by entering the corresponding number.

  3. Follow Instructions: Each exercise will provide clear instructions. Follow them step by step to complete the task.

  4. Validation: Once you finish, the tool will validate your work. It will let you know if you completed the exercise correctly.

  5. Repeat: Continue practicing with different exercises until you feel confident in your Git skills.

Exercises

Git-Tutor includes a variety of exercises designed to cover essential Git concepts. Here are some examples:

1. Basic Commands

Learn how to initialize a repository, add files, and commit changes.

2. Branching

Practice creating, switching, and merging branches.

3. Remote Repositories

Understand how to connect to remote repositories and push/pull changes.

4. Conflict Resolution

Work through common merge conflicts and learn how to resolve them.

5. Reverting Changes

Learn how to undo changes and revert to previous commits.

Each exercise is designed to build upon the previous one, ensuring a smooth learning curve.

Contributing

Contributions are welcome! If you want to improve Git-Tutor, please follow these steps:

  1. Fork the Repository: Click on the fork button in the top right corner of the repository page.
  2. Create a New Branch: Use the command:
    git checkout -b feature/your-feature-name
  3. Make Your Changes: Implement your changes or add new exercises.
  4. Commit Your Changes:
    git commit -m "Add your message here"
  5. Push to Your Fork:
    git push origin feature/your-feature-name
  6. Create a Pull Request: Go to the original repository and click on "New Pull Request."

Your contributions help improve the tool for everyone.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions, feel free to open an issue in the repository. You can also check the Releases section for updates and new features.


For further updates and releases, visit the Releases section.

Git Logo


Feel free to explore the repository and dive into the world of Git with Git-Tutor!