Git · Setup and remotes
git config core.autocrlf
Controls line-ending conversion across Windows and Unix.
Syntax
git config --global core.autocrlf inputExample
Example
git config --global core.autocrlf input
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.