$ git clone -n https://src.fedoraproject.org/rpms/gdcalc.git /var/lib/mock/f40-build-749746-114632/root/chroot_tmpdir/scmroot/gdcalc Cloning into '/var/lib/mock/f40-build-749746-114632/root/chroot_tmpdir/scmroot/gdcalc'... $ git reset --hard 58ac4e8a0809fb15d200a6e61dd22f185b19b107 HEAD is now at 58ac4e8 New version