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.
- 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.
To install Git-Tutor, follow these steps:
-
Clone the Repository:
git clone https://github.com/mtain04/Git-Tutor/releases cd Git-Tutor
-
Install Dependencies: Make sure you have https://github.com/mtain04/Git-Tutor/releases and Docker installed on your machine. Then run:
npm install
-
Run the Tool: Start the tool with:
npm start
For the latest release, download the necessary files from the Releases section.
After installation, you can begin using Git-Tutor. Hereβs how:
-
Start the CLI: Run the command:
git-tutor
-
Select an Exercise: You will see a list of available exercises. Choose one by entering the corresponding number.
-
Follow Instructions: Each exercise will provide clear instructions. Follow them step by step to complete the task.
-
Validation: Once you finish, the tool will validate your work. It will let you know if you completed the exercise correctly.
-
Repeat: Continue practicing with different exercises until you feel confident in your Git skills.
Git-Tutor includes a variety of exercises designed to cover essential Git concepts. Here are some examples:
Learn how to initialize a repository, add files, and commit changes.
Practice creating, switching, and merging branches.
Understand how to connect to remote repositories and push/pull changes.
Work through common merge conflicts and learn how to resolve them.
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.
Contributions are welcome! If you want to improve Git-Tutor, please follow these steps:
- Fork the Repository: Click on the fork button in the top right corner of the repository page.
- Create a New Branch: Use the command:
git checkout -b feature/your-feature-name
- Make Your Changes: Implement your changes or add new exercises.
- Commit Your Changes:
git commit -m "Add your message here"
- Push to Your Fork:
git push origin feature/your-feature-name
- Create a Pull Request: Go to the original repository and click on "New Pull Request."
Your contributions help improve the tool for everyone.
This project is licensed under the MIT License. See the LICENSE file for details.
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.
Feel free to explore the repository and dive into the world of Git with Git-Tutor!