$ git clone -n https://src.fedoraproject.org/rpms/kgpg.git /var/lib/mock/f41-build-855447-167141/root/chroot_tmpdir/scmroot/kgpg Cloning into '/var/lib/mock/f41-build-855447-167141/root/chroot_tmpdir/scmroot/kgpg'... $ git fetch origin 89fcf9576ce9443d1954c826446d42c9ca2b9b40:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kgpg * [new ref] 89fcf9576ce9443d1954c826446d42c9ca2b9b40 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 89fcf95 24.08.0