Add a .gitignore file to the repository.