respect `GIT_DIR`
Merge pull request #9 from lvivski/master

respect `GIT_DIR`