If git repo includes the shell scripts which need to be executed on linux server, e.g. Travis CI/Gitlab CI, without running chmod +x on the scripts in CI/CD pipeline yaml files you could add executable permission via git command.
- cd to the location of shell scripts
- Check the file permission, output could show the current permission like 100644