Show what files would be deleted without actually deleting them

git clean

git clean --dry-run

click the source code to copy install git clean on any operating system with command-not-found.com