how to provide git permissions for an external script code example Example: git add access rights for script git update-index --chmod=+x foo.sh