LOST ALL FILES! github source control

This is neither hurting nor helping you - it has nothing to do with the lost data.

You should hit yes.

It looks like the github gui has been used to:

  1. Create an initial commit, with commit message “Submitted”
  2. Revert that commit (why)
  3. Checkout from “master” to “main” a bunch of stuff
  4. revert the revert from step 2 (why?)

At this point, I would try “git reset --hard d0717e2”…it looks like you tried this at some point (or maybe the github gui did?).

This will reset the repository to whatever state it was in when you made your first commit.

Are you sure that all the files you’re concerned with were added to the repository with “git add”?

You may want to make a backup of this folder before proceeding further - especially if you plan to try to recover stuff from the recycling bin, the backup will contain the current state as-is so that you can try further operations using git.