I have a executable file called
git update-index --chmod=+x .openshift/action_hooks/post_deploy
Check your Git version: with Git 2.9.1, you can add with chmod
git add --chmod=+x -- yourFile
Also check the value of
git config core.filemode. I suspect it should be false (which is expected in an environment which does not support executable bit).
add --chmod=+x should be enough to record that executable bit in the Git repo.
Finally, clone your repo in a Linux/Cygwin environment and check if the file is not already executable there.