tryTry the following commands:
chmod +x .git-hooks/pre-push
chmod +x .git-hooks/pre-push
where ".git-hooks/pre-push".git-hooks/pre-push
is your directory with already configured hooks.ln -s -f ../../.git-hooks/pre-push .git/hooks/pre-push
ln -s -f ../../.git-hooks/pre-push .git/hooks/pre-push
The .git-hooks/pre-push.git-hooks/pre-push
directory already has the access permissions that wewere configured in the previous command