$ git clone -n https://src.fedoraproject.org/rpms/perl-Alien-autoconf.git /var/lib/mock/f40-build-779032-130154/root/chroot_tmpdir/scmroot/perl-Alien-autoconf
Cloning into '/var/lib/mock/f40-build-779032-130154/root/chroot_tmpdir/scmroot/perl-Alien-autoconf'...
$ git fetch origin af312c992f887646a461ae08dbdf42c4712d4c8d:KOJI_FETCH_HEAD
From https://src.fedoraproject.org/rpms/perl-Alien-autoconf
 * [new ref]         af312c992f887646a461ae08dbdf42c4712d4c8d -> KOJI_FETCH_HEAD
$ git reset --hard KOJI_FETCH_HEAD
HEAD is now at af312c9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild