$ git clone -n https://git.centos.org/rpms/postgresql /var/lib/mock/module-postgresql-12-8040020210611152001-9f9e2e7e-build-71809-22280/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-12-8040020210611152001-9f9e2e7e-build-71809-22280/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