Ignore project files for JetBrains IDEs like Phpstorm. In my projects I like to use a boilerplate .gitignore file like https://github.com/twitter/bootstrap/blob/master/.gitignore to help avoid unneeded files being committed by accident. The twitter one doesn't have .idea but I just add it to the other IDE folders in the list.