respect `GIT_DIR`

resolves #8