The git clean command is used to clear or delete untracked files from a repository’s working directory. These files are the ones that have not been added yet to the repo’s index with the git add command and are still present in the repo’s directory.