Git clean d n. The output will look something like this. It is always a good idea to backup your repository because once deleted the files and changes made to them cannot be recovered.