Inside Unreal: DLSS and RTXGI with NVIDIA

If I try to patch the engine source with the provided RTXGI patch, after running git apply rtxgi-nvrtx4.25.3.patch I get a bunch of “patch do not apply” messages in the command prompt. Any idea how to successfully apply the patch?