$ git config --global core.autocrlf input # Configure Git to ensure line endings in files you checkout are correct for macOS $ git config --global core.autocrlf true # for window