test-read-cache: setup git dir