improved logging for git