Add .gitignore to the repository.