TEST: add stub of testing repository
REFACTOR: split git_parse_commit_line() off

will need it for extending cache
IMPL: use GIT_DIR
FIXUP: some validation

it should be used both in Linux and Windows... better be safe