Reuse existing types to parameterize GitReference