How to have a parallel `gitignore` file
git
You can have a local .gitignore file to avoid files getting checked into a repo.
Just add the files you want to ignore in .git/info/exclude.
There's also a global gitignore at ~/.config/git/ignore.
I learnt this from @mgattozzi