recursive .git filerepo search to work with multimodule project

For multi module project (or in other cases) the .git directory cold be in the parent instead of the current project dir.