What does GitDependencies.exe actually does?

Hi there,
I am trying to speed up my build UE4Editor? What is the GitDependencies.exe trying to do?
I would like to download it once on my host and rebuild it on my container without having to download it everytime because it is slow as well.

Thanks.