link github repositories to pc after complete OS reset

hi guys

Do to some malware from a popular gaming software producer, I was forced to format my PC in order to remove it and repair my system. I have Github desktop re-installed on my pc but i cant figure out how to link it to my github library in documents.

Do i need to remove the github libraries from my documents then clone the repositories to link my repositories back to github desktop and my pc?

If you’re using the latest version of GitHub Desktop, you can use the File \> Add Local Repository... menu item to add local repositories to Desktop.