Use git clean to permanently remove untracked files and directories from your working tree. Learn how to use the dry run option to avoid data loss.