This is an upstream bug, but this workaround seem to work fine. Fixes #14564
Use blobless git clone (--filter=blob:none --no-checkout) to fetch commit history for content from Git modules, then map it using the existing gitmap library. Cloned repos are cached in the modulegitinfo file cache. Closes #14431 Fixes #5533