Git: Log command when gitLog fails, improves debugging

Closes gh-51