$ git clone -n https://src.fedoraproject.org/rpms/librepo.git /var/lib/mock/f41-build-814237-148929/root/chroot_tmpdir/scmroot/librepo Cloning into '/var/lib/mock/f41-build-814237-148929/root/chroot_tmpdir/scmroot/librepo'... $ git fetch origin 460f00d91e9054eb7df375faf040e961ac91f6b5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/librepo * [new ref] 460f00d91e9054eb7df375faf040e961ac91f6b5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 460f00d Handle PGP keys with librpm on RHEL ≥ 10