Global git ignore

A new laptop a new change to optimize stuff. And this is one I should have done years ago.
There are files you always want to avoid. The infamous .DS_Store file comes to mind.

On ubuntu just add whatever you want to exclude to ~/.config/git/ignore