Yeah, for example some users install Homebrew before installing Xcode. No git, but can fetch via HTTPS.

(Also, if the user has an ancient version of git, it's probably better not to rely on it.)