$ git clone -n https://src.fedoraproject.org/rpms/kfind.git /var/lib/mock/f38-build-716536-96109/root/chroot_tmpdir/scmroot/kfind Cloning into '/var/lib/mock/f38-build-716536-96109/root/chroot_tmpdir/scmroot/kfind'... $ git fetch origin 4ba826b1e8da25b87c5e5a69694b47e596d8bf11:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kfind * [new ref] 4ba826b1e8da25b87c5e5a69694b47e596d8bf11 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4ba826b 23.04.1