See https://github.com/dart-lang/sdk/issues/52067#issuecomment-1516768336. We're finding the git root by looking only for files, but in this case `.git` is a file.
See dart-lang/sdk#52067 (comment).
We're finding the git root by looking only for files, but in this case
.gitis a file.