Adding .gitignore and testing the ignore conditions work.