github commit file permission code example
Example 1: git commit permission changes
git config core.fileMode false
Example 2: how to upload a file to github with 777 permissions from UI
# git update-index --chmod=+x script.sh
git config core.fileMode false
# git update-index --chmod=+x script.sh