We have a dev version of our intranet and a prod one. To make a change to a page on the dev site, you drag and drop the HTML and JS files into a /dev-SiteAssets folder.
One evening I wasn't paying attention and accidentally dropped the files to the prod folder. I went to the prod page and sure enough, it was broken. It wasn't a high traffic page, but I was still afraid that we'd get a complaint or two.
Since the original prod files had been written over by the new ones, I went to the page's GitHub and downloaded the files from the repo.
I then dragged the repo files to the prod folder, and the page was back to normal. Definitely gave me a fright.
I informed my boss about what happened the next day and how it was resolved, and although he looked somewhat alarmed I didn't get in trouble.