/UnrealEngine/.git/ue4-gitdeps eats 12+gb

Creating a project based on the 3rd Person demo eat nearly 40gb of space. Part of it is in the DerivedDataCache, but there seems to be a pile of files in /UnrealEngine/.git, much more than I would expect, over 20gb.

Are all of these necessary or can any of them be deleted? I’m not even working with real assets yet and it seem like these manage to chew up a ton of space on their own.

It also seems like building different targets causes each target to create copies of the full .git folder? Is there some info out there on managing space usage?