All .idea files that are explicitly ignored are still showing up to commit
you have to remove them from the staging area
git rm --cached .idea
now you have to commit those changes and they will be ignored from this point on.
Once git start to track changes it will not “stop” tracking them even if they were added to the .gitignore
file later on.
You must explicitly remove them and then commit your removal manually in order to fully ignore them.