For Linux and MacOS: use characters as in file git config --global core.autocrlf input For Windows: disable the automatic changing to CRLF git config --global core.autocrlf false