Need help restoring deleted directory

I accidentally used rm -rf on my source directory. I then followed an online suggestion to try to recover my files and ended up checking out my most recent commit, which was before starting my current project.

Is there any way to recover these files?

Hi Daniel,
I think we can recover your project to the state of your the previous session. Please let us check this along today and come back to you


In addition to what @rtellez said, on which specific course did this happen? We save files for each course separately, so we need to know the course in order to attempt a recovery to an earlier version.

Hi thank you both for the reply. This was on the URDF for robot modeling course.


I have sent you an email with an earlier version of your files for the course. Please check it out.