git ignore file mode changes

Shell
git config core.fileMode false

Source

Also in Shell: