$ git clone -n https://src.fedoraproject.org/rpms/gmic.git /var/lib/mock/f33-build-377986-61837/root/chroot_tmpdir/scmroot/gmic Cloning into '/var/lib/mock/f33-build-377986-61837/root/chroot_tmpdir/scmroot/gmic'... $ git reset --hard 01dc9ac17726f1d157a87df14afe4dabdcf78278 HEAD is now at 01dc9ac new version