Because of its simplicity, we use remote repository placed on shared disk, accessing it using file system path (\\server\\share). Is is possible, in such case, to run hook s
My advice after few hours of fight, double check value:
git config core.hookspath
It should be empty or point your hooks folder (.git\hooks)
.git\hooks