Githug is designed to give you a practical way of learning git. It has a series of levels, each utilizing git commands to ensure a correct answer.
To install Githug
gem install githug
After the gem is installed, you can run githug
where you will be prompted to create a directory. Githug should work on Linux, OS X and Windows.
Githug has 5 commands:
- play - This is the default command and it will check your solution for the current level.
- hint - Gives you a hint (if available) for the current level
- reset - Reset the current level or reset the level to a given name or path
- levels - List all of the levels
- test - Used to test levels in development, please see the Testing Levels section.