Modify '.gitignore' and incorporate into it the '.idea' directory.