make sure you have the access to reach unreal’s github. paste from unreal’s doc:
Before you can access the repository at https://github.com/EpicGames/UnrealEngine, you must:
- be an Unreal Engine subscriber.
- have a GitHub account.
- have associated your GitHub account with your Unreal Engine account as described on the UE4 on GitHub page.