I didn't get into the details of this discussion, but I just wanted to
shoot in that there is a new hook since Git 2.3 called "push-to-checkout".
Perhaps that would be the right thing here. Nice to know about anyhow:
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.