In this video, we’ll look at setting up access to the Unreal Engine source code on GitHub, cloning the repo, checking out a version to build with git, and compiling it using Visual Studio.
https://dev.epicgames.com/community/learning/tutorials/ZdYv/building-unreal-engine-5-from-source-code