$ git clone -n https://src.fedoraproject.org/rpms/kgpg.git /var/lib/mock/f41-build-861766-170046/root/chroot_tmpdir/scmroot/kgpg Cloning into '/var/lib/mock/f41-build-861766-170046/root/chroot_tmpdir/scmroot/kgpg'... $ git fetch origin 0db3ff8637ed7b108803847fd1c1c655749bc2a3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kgpg * [new ref] 0db3ff8637ed7b108803847fd1c1c655749bc2a3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0db3ff8 24.08.3