$ git clone -n https://src.fedoraproject.org/rpms/step.git /var/lib/mock/f40-build-790278-136398/root/chroot_tmpdir/scmroot/step Cloning into '/var/lib/mock/f40-build-790278-136398/root/chroot_tmpdir/scmroot/step'... $ git fetch origin 7b12f09a611a33df41b02ecb45a62a1d82643c41:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/step * [new ref] 7b12f09a611a33df41b02ecb45a62a1d82643c41 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7b12f09 24.02.0