Add .idea the intellij project directory to .gitignore.