Gitignore ignores spotlight index files.

Is there a reason why this wasn't already part of it?