So I made a huge school boy error, and I did not back up the Xcode Project to an external drive. 
The Xcode project was 6-9 months of work and was supposed to be released in a couple weeks. 
I have never used Git/Github and was going through a treehouse course so I could set up a work flow for the project. (Yeah I am new to development). 
So I got to the point where I created a repo on Github but hadn't committed the project to the repo.  I went to commit locally but got an error, and I accidentally clicked discard All Changes. I have since lost my app and all the files. 
I went to the trash and saw a folder which seems to have all the files, however I dragged the folder to the desktop and opened the project and the project is empty.
Can anyone please help how I can restore my project ?
PS: I have an idea to restore my last backup on time machine, and replace the project from my last backup with the one restored from the trash bin. But I don't know if that will work. The last backup was a month ago, and yeah I have done a lot of changes since.