In Unix and mac the end of a line is represented with a line feed (LF). In windows a line is represented with a carriage return (CR) and a line feed (LF) thus (CRLF).
when you get code from git that was uploaded from a unix and mac os system they will only have an LF.
If you get the following warrning in git diff:
warning: LF will be replaced by CRLF in path/to/file.<br>The file will have its original line endings in your working directory.
or in git ui you will see the list of files but no changes shows on diff, that means the end of the line changed.
You can fix it by adding the following code to the git config. add the following code in command line:
git config core.autocrlf false