git commit permission changes

Shell
git config core.fileMode false

Source

Also in Shell: