$ git clone -n https://git.cclinux.org/stage/rpms/swtpm /var/lib/mock/module-virt-rhel-8080020230606041600-fd72936b-build-100782-51344/root/chroot_tmpdir/scmroot/swtpm Cloning into '/var/lib/mock/module-virt-rhel-8080020230606041600-fd72936b-build-100782-51344/root/chroot_tmpdir/scmroot/swtpm'... warning: redirecting to https://git.cclinux.org/stage/rpms/swtpm.git/ $ git reset --hard 7e0c4789e4d50d3d6d6885a1e72fb013f36589f3 HEAD is now at 7e0c478 import swtpm-0.7.0-4.20211109gitb79fd91.module+el8.8.0+16781+9f4724c2