$ git clone -n https://src.fedoraproject.org/rpms/ocaml-version.git /var/lib/mock/f40-build-784156-133254/root/chroot_tmpdir/scmroot/ocaml-version Cloning into '/var/lib/mock/f40-build-784156-133254/root/chroot_tmpdir/scmroot/ocaml-version'... $ git fetch origin 21ce7aff632e14bc0b71c9dc8d76d739cd557c6e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ocaml-version * [new ref] 21ce7aff632e14bc0b71c9dc8d76d739cd557c6e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21ce7af Version 3.6.4