SonarLint 2.1.1: Request sonarlint/isIgnoredByScm failed with message: Git model not found

In this latest release of SonarLint we introduced a new feature which is secrets detection. We don’t want to detect secrets in files that are not under source control because the secrets won’t be shared with anyone, that’s why we need to check if the file is gitignored. And Git is the only SCM that we support for the moment. But it should definitely not cause errors if other SCMs are used, and the file should be considered as not ignored.

Even after restarting VSCode ?

It’s not the case unfortunately, and the specific extension point you suggested does not have the same purpose