I made an empty private repository called "clonedRepo" .
Then I cloned the empty repository locally on my machine under the folder htdocs.
Then I dragged a folder called "codebase" that had all the code under the cloned empty repo "clonedRepo".
Then I used the Github app for Mac OS X to commit and push all the code under the folder "codebase" to "clonedRepo" but the commit failed because a couple of video files were too large which is fair enough.
I clicked the undo commit button.
But all of a sudden all the files under "codebase" were gone. The directories remain but the files are gone.
I tried "git stash list" for this local repo in the terminal but that just returns the default command prompt.
I didn't have backup of this code and its really important to me because I've been working on this since weeks but making it again from scratch will be time-consuming and mundane. Any idea how I could get it back? I didn't delete the local cloned repo or anything inside it. The local repo displays itself as being worth 302 MB but contains visible stuff worth only 46KB. Please help.