git: Readd global gitignore

Previously removed in 853fbd6183081099a1662f6680b5141b1d8f14a5.