$ git clone -n https://src.fedoraproject.org/rpms/gh.git /var/lib/mock/f40-build-773774-127378/root/chroot_tmpdir/scmroot/gh Cloning into '/var/lib/mock/f40-build-773774-127378/root/chroot_tmpdir/scmroot/gh'... $ git fetch origin 061f84234c85c2775ad16a81429c12984bcaff8c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gh * [new ref] 061f84234c85c2775ad16a81429c12984bcaff8c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 061f842 Update to 2.42.0 - Closes rhbz#2257927