I have set my global git configuration using this line
git config --global core.autocrlf input
From what I read, I understand that upon commit line endings should be converted to LF no matter if my repository is on windows or unix.
when I commit, however, the CRLF is kept as is.
To verify I reset the file after committing it.