I have deleted all the contents inside a folder and the folder is empty. I still had a copy in my remote repo. But when I did a git pull it didn\'t put back the
If you are just looking to recover a deleted folder and you have other commits after the deletion, then you can also just goto your project on github.com.
From github.com, go you to your last commit that has your folder. You should see the commit message and to the right there's a button labeled "Browse Files". Clicking this will take you to all the files from that stage of the commit.
From there you can clone the code or just download the code as a zip.