$ git clone -n https://src.fedoraproject.org/rpms/ktp-accounts-kcm.git /var/lib/mock/f38-build-717697-96586/root/chroot_tmpdir/scmroot/ktp-accounts-kcm Cloning into '/var/lib/mock/f38-build-717697-96586/root/chroot_tmpdir/scmroot/ktp-accounts-kcm'... $ git fetch origin 3e14b2dafeaf487d326f6dd6f8a2ce3e3d3b6f5a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ktp-accounts-kcm * [new ref] 3e14b2dafeaf487d326f6dd6f8a2ce3e3d3b6f5a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3e14b2d 23.04.1