warning: LF will be replaced by CRLF in drum machine/.gitignore. The file will have its original line endings in your working directory code example
Example 1: lf will be replaced by crlf
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
Example 2: warning: LF will be replaced by CRLF in
$ git config --global core.autocrlf input