For the record I am a novice programmer currently taking Harvard's free Game programming course, and my computer is a Mac. I know how to use Git to submit something, but I'm not aware of all the intricacies and I become completely lost when I see technical terms being thrown around.
I started doing an assignment in visual studio code, and get a warning that I have more than 5000 untracked changes whatever that means. I go to the source control window and delete all changes, thinking that it would make the problem go away. Now all of my files that were on my desktop, and any that were in folders on my desktop are gone. Is there anyway to reverse this? What does source control even do, and why can it delete files you aren't currently editing? It looks like it has something do with git, but I'm completely lost as to how this happened.