The git hook script should only extract the necessary information the build
script needs to operate. Right now this is only the commit before the push and
after the push, and the refname is added for future use.
The name of the variables passed to the laminar build are modeled after those
found in the GitLab CI documentation, just for some familiarity.
The functionality of finding the relevant directories has been moved to the
build script.