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 don't specify a specific file you should be able to pull the full contents of a specific commit. Like: git checkout 264794319e9695ba843cd6 (assuming that hash has all your files at the right state).
The reason pull isn't restoring files is that git sees your deletions as the more recent change, applying that on top of whatever you're pulling.
(I'd recommend experimenting in a new branch.)