add finding .git in parent dirs
Merge pull request #1 from finnp/find-dir

Find .git in parent dirs