Linux and MacOS: use characters as in file $ git config --global core.autocrlf input Windows: deactivate the automatic conversion to CRLF $ git config --global core.autocrlf false