$ git clone -n https://src.fedoraproject.org/rpms/dnf5.git /var/lib/mock/f40-build-805139-144700/root/chroot_tmpdir/scmroot/dnf5 Cloning into '/var/lib/mock/f40-build-805139-144700/root/chroot_tmpdir/scmroot/dnf5'... $ git fetch origin 07265eb85e0586e4eab08854012b2cde11bf9a7a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/dnf5 * [new ref] 07265eb85e0586e4eab08854012b2cde11bf9a7a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 07265eb [packit] 5.1.15 upstream release