$ git clone -n https://src.fedoraproject.org/rpms/cgit.git /var/lib/mock/f33-build-159857-43413/root/chroot_tmpdir/scmroot/cgit Cloning into '/var/lib/mock/f33-build-159857-43413/root/chroot_tmpdir/scmroot/cgit'... $ git reset --hard badc7515ee5d9af77f505a9e4f1400b624f8fd29 HEAD is now at badc751 update to 1.2.3