Set repositories to have core.autocrlf == false; fixes #7673

Based on a patch from rassilon.
Fix the autocrlf test in sync-all

Apparently git ignores the --git-dir argument.