How do I undo a Github import?

So i tried to import some files from Github so I can use it for my bot, so I went to tools then import from github, and the path thing never worked so I thought that if I’d just put the entire repo in it (it was a small repo) it would work

it removed all of my other files and I have no backup
I tried doing rewind but it wouldnt bring it back, i pressed ctrl z so many times but it didnt do anything


Let me know if they have a backup for you!