$ git clone -n https://src.fedoraproject.org/rpms/testdisk.git /var/lib/mock/f31-build-55541-28132/root/chroot_tmpdir/scmroot/testdisk Cloning into '/var/lib/mock/f31-build-55541-28132/root/chroot_tmpdir/scmroot/testdisk'... $ git reset --hard 7e50a35fac842da9b1f1a261c0b525d635d6c9d6 HEAD is now at 7e50a35 New version 7.1