I am using Ubuntu 18-04 I do have gone through all the steps for connecting accounts but still have no access to the repository can anybody please guide me how can I build the unreal engine or can access the repository
Can you access https://github.com/epicgames/Unrealengine ?
If not you did not go through the process of connecting your Epic account to GitHub. Without that step you will not be able to get the source code.