find-gitdir

Find .git directory with support of submodules and --separate-git-dir