The git clean command removes untracked files from the working tree. So any compiled files, backups, .DS_Store Mac files, or ...
Git is straightforward to begin with, but when you're ready, you can progress onto more advanced topics like branching, ...