I was using git 1.7.1 on CentOs 6 server and when I run git --bare init
on my_repo.git I checked my_repo.git/hooks and I could see all hooks, including post-receive.sample.
Now I'm using git 2.4.1 on Centos 7 server, and post-receive.sample file is missng, all other hooks are there but not the one I need.
I know I can copy the file from a previous repo and then change content as needed, but I would like to know why the post-receive.sample is not generated as before.