Replace test git repo with mocking.

The Git repo was not working for me, maybe because the directory was not named
`.git`? I dunno; Git said "repository 't/git/checkout' does not exist. But I
think it is simpler to use mocking, especially since the VCS interface stuff
should be abstracted out soon, anyway.

Things seem to work very well, though.