Those forward slashes are not correct - this should _probably_ be :+1: 

 *\.git\*

A test should be added to confirm it works - e.g. add `tests/files/.git/foo.php` and make sure it's not processed.