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, ...
The free GitBrowser is for everyday use of version control on the Mac. Developers can easily work with repos, branches, and commits.