https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
https://www.perforce.com/blog/vcs/git-beyond-basics-using-shallow-clones
git clone --branch 5.1 --single-branch --depth=1 https://github.com/EpicGames/UnrealEngine.git UnrealEnginecd UnrealEngine
Setup.bat
GenerateProjectFiles.batEngine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -clean -set:WithWin64=true -set:WithLinux=false -set:WithServer=false -set:HostPlatformDDCOnly=false -set:WithWin32=false -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinuxAArch64=false -set:WithPS4=false -set:WithXboxOne=false -set:WithSwitch=false -set:WithLumin=false -set:WithLuminMac=false -set:WithHoloLens=falseEngine\Build\BatchFiles\RunUAT.bat
BuildGraph -target="Make Installed Build Win64"
-script=Engine/Build/InstalledEngineBuild.xml -clean
-set:WithWin64=true
-set:WithLinux=false
-set:WithServer=false
-set:HostPlatformDDCOnly=false
-set:WithWin32=false
-set:WithMac=false
-set:WithAndroid=false
-set:WithIOS=false
-set:WithTVOS=false
-set:WithLinuxAArch64=false
-set:WithPS4=false
-set:WithXboxOne=false
-set:WithSwitch=false
-set:WithLumin=false
-set:WithLuminMac=false
-set:WithHoloLens=false
LocalBuilds\Engine\Windows