$ git clone -n https://src.fedoraproject.org/rpms/katomic.git /var/lib/mock/f41-build-857500-168118/root/chroot_tmpdir/scmroot/katomic Cloning into '/var/lib/mock/f41-build-857500-168118/root/chroot_tmpdir/scmroot/katomic'... $ git fetch origin 201171aafe15c964c6ba32d9f27dc562f64a6de5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/katomic * [new ref] 201171aafe15c964c6ba32d9f27dc562f64a6de5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 201171a 24.08.2