$ git clone -n https://src.fedoraproject.org/rpms/kgpg.git /var/lib/mock/f41-build-860408-168945/root/chroot_tmpdir/scmroot/kgpg Cloning into '/var/lib/mock/f41-build-860408-168945/root/chroot_tmpdir/scmroot/kgpg'... $ git fetch origin c1cda2436843a4f4f4ced92665cd2de4be5906cc:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kgpg * [new ref] c1cda2436843a4f4f4ced92665cd2de4be5906cc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c1cda24 24.08.2