Best way to recover hugo website set up after a computer format?

Hi!

I had successfully set up my Hugo website on a Mac with a GitHub+Netlify solution, was using VS code to publish my content, updating the theme when necessary via terminal, all good.

Then the computer crashed and I had to erase the disk to reinstall MacOS. I have the necessary folders recoverd. Now how should I proceed to recover my previous set up? Do I have to start from scratch and do it all over again or is there a way to reinstall hugo and make it recognize the previous content in the corresponding folder?

Thanks a lot in advance for your help!

BT

Install Hugo, then clone your Github repo. That’s it.