fixed githook template to only change deployment file if it's wrong