Question: how to retrieve deleted files from git?
Answer: To recover your deleted file, right click on the file in GitHub and select discard changes. The file will now be back in the folder where you originally saved it.