$ git clone -n https://git.cclinux.org/stage/rpms/python-psycopg2 /var/lib/mock/module-python38-3.8-8050020211121131429-e3d35cca-build-46065-11090/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/module-python38-3.8-8050020211121131429-e3d35cca-build-46065-11090/root/chroot_tmpdir/scmroot/python-psycopg2'... warning: redirecting to https://git.cclinux.org/stage/rpms/python-psycopg2.git/ $ git reset --hard 27b951c2ca471d67998841018d18e38e3ead6ccc HEAD is now at 27b951c import python-psycopg2-2.8.4-4.module+el8.4.0+8888+89bc7e79