Small refactoring
Run test with rake
WIP: Add agit-git-* commands
small refactoring
work fine but test failed