Manual:$wgGitInfoCacheDirectory

Details
Directory where  will look for pre-computed cache files.

If false,   will be used.

It's used to cache git information from MediaWiki core and extensions on Special:Version, if MediaWiki or extensions have been download>Special:MyLanguage/Download from Git|downloaded from git.