Git: Log command when gitLog fails, improves debugging

Similar to #50, improving debugging when things go wrong. Without the command its hard to tell why it fails.