Add error message when git CLI is not present and gitfs is enabled

We can't be sure that package dependencies will ensure it is installed.

Fixes #11472.