→Updated discussion tip
git config --global unset core.eol
git config --global core.eol true
That should be enough to avoid checking out crlf in the future
. Deleting all files/directories in the repo directory except for the .git directory and checking out again should give the user lf line endings for all files checked out.