Creating a Global git ignore

I didn’t want to change every .gitignore for each project that I worked on at my company. I found this little trick.

cat TODOs.org >  ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global