parameterize head

This allows the git commit head to be declared as a parameter instead of as being based on the timestamp. This is helpful for pipelines to set the head to that of the upstream app and make deploy hooks work properly.