Remove '.DS_Store' files, which MacOS creates.
Add '.DS_Store' to .gitignore.