If you don’t want OS X mucking up your Git repo with DS_Store files, you can set up a global ignore file. As per freshsauce, you simply execute the following two commands:
git config --global core.excludesfile ~/.gitignore
echo .DS_Store >> ~/.gitignore
Brilliant.