Adds .gitignore (.DS_Store, editor swap files, logs). Existing .DS_Store files were untracked and removed from the working tree.