How to recover files from command "git clean -df"
If you are working with an online repository and you keep it up-to-date you can download all the file from the online repository using the following commands:

git pull                            # in the case the remote is set
git clone &lt;address_of_repository&gt;   # in the case the remote is not set


Using these commands you'll be able to restore your deleted files, obviously only if the online repository is up to date.