A source build is often used to submit patches to Epic:

This script scans the source code and creates the UE5.sln (Solution) file for Visual Studio. Step 4: Compiling the Engine Open the UE5.sln file in Visual Studio.

Here is the solid story of how to go from zero to a running engine, step by step.

ue5-main : The latest developmental version (may contain bugs).