Print gitref in output.