* Restore gitignore file contents Set permissions to 664 Add tests to check existence, mode, and size of .gitignore files * add trailing line return * git only cares about executable bit, just check that. * define gitignores separately