Add .gitignore file to repository.