So you just lost a repository in some way? Don't panic. It can be restored. VSC keeps a history of files edited, and possibly you can restore most of them (if not even a few more).
It's important to not do much more in VSC for now.
If you need to restore a single file, just use command palette -> Local History: Find Entry to Restore
Requirements:
