Removing .idea folder from GIT
Create a .gitignore file in master and commit it.
Fetch it and add '.idea' in the .gitignore file.
Push the change once (If you've .idea folder already on git).
Checkout this commit: git checkout master -- .gitignore
Remove the idea directory wih: git rm --cached -r .idea