$ git clone -n https://git.centos.org/rpms/postgresql /var/lib/mock/module-postgresql-12-8050020210609162852-b4937e53-build-71648-22218/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-12-8050020210609162852-b4937e53-build-71648-22218/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard 2d7894feea4a8df7ecf6203237293c0cffa35c31 HEAD is now at 2d7894f import postgresql-12.7-1.module+el8.4.0+11288+c193d6d7