GitHub Recovery

HI! so I have been installing new components in my computer and need to recover my projects and I’ve used Source control alot. But when I try to re-build the missing project files through unreal, Unreal directly after loading throws an massive Error list with missing components and other user created references. It doesn’t even import the c++ classes I’ve been working on. any tips?