$ git clone -n https://src.fedoraproject.org/rpms/cockpit.git /var/lib/mock/f40-build-735282-106332/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/f40-build-735282-106332/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin 304059d7f7fae2032462b622d53a683d4bc82494:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cockpit * [new ref] 304059d7f7fae2032462b622d53a683d4bc82494 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 304059d [packit] 304 upstream release