Git: Log command when gitLog fails, improves debugging

Closes gh-52