git will try to determine whether file is text or not, and if it's text then store it with LF line endings.