Reducing the size of UE4 local repository

Hi,

I’m trying to reduce the size of the UE4 install from Git.
At first, I thought the Promoted branch was more recent than the master, but it wasn’t so here are the steps I used:



git clone UE4.git
git checkout promoted
./Setup.command
./GenerateProject.command


and then build UE, that’s when I realized the promoted branch was not the latest so I went back to the local repo


git checkout release
./Setup.command
./GenerateProject.command

and then build UE, this is now the version I want 4.23.1, but the resulting local repo is HUGE and I have no idea why: