extract git commands
add tests with rspec
add todo in git repository