$ git clone -n https://src.fedoraproject.org/rpms/ksirk.git /var/lib/mock/f41-build-847023-163590/root/chroot_tmpdir/scmroot/ksirk Cloning into '/var/lib/mock/f41-build-847023-163590/root/chroot_tmpdir/scmroot/ksirk'... $ git fetch origin 5cca1acefbb9cb8f349b7fb11a35a60f08eb3fce:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ksirk * [new ref] 5cca1acefbb9cb8f349b7fb11a35a60f08eb3fce -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5cca1ac 24.08.0