He wouldn't have seen the "Discard Changes" button at all if source control wasn't already setup (and detected by VSCode).
No sane program will delete files when you initialize source control either.
As I found later, VSCode did have weird behaviors with source control back then. My experience is more with the latest versions.
