Add .gitignore to avoid committing unnecessary files.