Set core.autocrlf to false. Rebuild defaults.txt and preferences.txt. Testing push.