code: func (r *Repo) mostRecentCommit() (string, error) {
  	command := gitBinary + ` --no-pager log -n 1 --pretty=format:"%H"`
  	c, args, err := caddy.SplitCommandAndArgs(command)
  	if err != nil {
  		return "", err
  	}
  	return runCmdOutput(c, args, r.Path)
  }
docs: // getMostRecentCommit gets the hash of the most recent commit to the
  // repository. Useful for checking if changes occur.