$ git clone -n https://src.fedoraproject.org/rpms/edid-decode.git /var/lib/mock/f38-build-722661-98865/root/chroot_tmpdir/scmroot/edid-decode Cloning into '/var/lib/mock/f38-build-722661-98865/root/chroot_tmpdir/scmroot/edid-decode'... $ git fetch origin e94d20a1844d77088457e4124ffb8e3b2010f4d9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/edid-decode * [new ref] e94d20a1844d77088457e4124ffb8e3b2010f4d9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e94d20a Recent snapshot