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