$ git clone -n https://src.fedoraproject.org/rpms/libinsane.git /var/lib/mock/f33-build-380709-61954/root/chroot_tmpdir/scmroot/libinsane Cloning into '/var/lib/mock/f33-build-380709-61954/root/chroot_tmpdir/scmroot/libinsane'... $ git reset --hard 61be2007557a41721b30d061b82bb5c996fdbc37 HEAD is now at 61be200 Update to latest version.