Make git ignore executable permissions
To globally disable git from watching changes to executable permissions use:
git config --global core.filemode false
Of course to just revert executable permissions on folders and subfolders:
find . -type d -exec chmod a+rwx {} \;
find . -type f -exec chmod a+rw {} \;
From: https: //stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-changes