$ git clone -n https://src.fedoraproject.org/rpms/z3.git /var/lib/mock/f42-build-865642-173376/root/chroot_tmpdir/scmroot/z3 Cloning into '/var/lib/mock/f42-build-865642-173376/root/chroot_tmpdir/scmroot/z3'... $ git fetch origin d7781ac96b250c9cdb90b65324acace150ed4a46:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/z3 * [new ref] d7781ac96b250c9cdb90b65324acace150ed4a46 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d7781ac Version 4.13.4