I am trying to make some contribution but in the very first step when I clone the original Repo or clone forked version of the Repo, I find the following files shown in screenshot changed immediately, without opening the project in code editor. I am using Mac for development. I researched and try to change the line endings configuration thinking that some developers didn't pay attention to line endings with mixed (CRLF/CR/LF) configs on their machine. I tried the following commands sequentially but no success to prevent the files being changed.
git config --local core.filemode=false
git config --local core.autocrlf=false
git rm --cached -r .
git reset --hard

I am trying to make some contribution but in the very first step when I clone the original Repo or clone forked version of the Repo, I find the following files shown in screenshot changed immediately, without opening the project in code editor. I am using Mac for development. I researched and try to change the line endings configuration thinking that some developers didn't pay attention to line endings with mixed (CRLF/CR/LF) configs on their machine. I tried the following commands sequentially but no success to prevent the files being changed.

git config --local core.filemode=falsegit config --local core.autocrlf=falsegit rm --cached -r .git reset --hard