git eof config

Shell
$ git config --global core.autocrlf true
Source

Also in Shell: