ignore .idea directory and add .gitignore to git