Change .iml to *.iml in .gitignore file.