The git config core.autocrlf command is used to change how Git handles line endings. It takes a single argument.
On Linux, you simply pass input to the configuration. For example:
git config --global core.autocrlf input
# Configure Git to ensure line endings in files you checkout are correct for Linux