Validation for githook 

Now the githook will check that the incoming POST is valid before it re-pulls! This prevents spurious requests going through and constantly restarting the server.