$ git clone -n https://src.fedoraproject.org/rpms/messagelib.git /var/lib/mock/f42-build-864150-172187/root/chroot_tmpdir/scmroot/messagelib Cloning into '/var/lib/mock/f42-build-864150-172187/root/chroot_tmpdir/scmroot/messagelib'... $ git fetch origin d1ac6a5dde57d3028d6278acdeb2e7c13b471dcb:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/messagelib * [new ref] d1ac6a5dde57d3028d6278acdeb2e7c13b471dcb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d1ac6a5 24.12.0