I don't know whether it is intended, but `git_repository_init_ext` adds a `.git` to the `gitdirPath`. It will still work, but it would be better if the repo was in `.git/modules/name` instead of `.git/modules/name/.git/`. Do you know how to achieve that?