git игнорирует chmod

git config core.fileMode false
Eager Echidna