I've got some config files (`.idea/`) from an IDE in my working directory, and Git lists these as `Untracked files`. Should I

1. add these to the `.gitignore` (which will get pushed to the main repo), or
2. use the local option of

```
git update-index --assume-unchanged <name of file>

```
3. or follow a different approach altogether?

What's best practice?