Check https://en.wikipedia.org/wiki/.DS_Store and https://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository for more details