$ git clone -n https://src.fedoraproject.org/rpms/contour-terminal.git /var/lib/mock/f38-build-side-42-init-devel-1117823-30186/root/chroot_tmpdir/scmroot/contour-terminal Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1117823-30186/root/chroot_tmpdir/scmroot/contour-terminal'... $ git fetch origin b07a5882ef265293e2d44e1bf796f154b9e96534:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/contour-terminal * [new ref] b07a5882ef265293e2d44e1bf796f154b9e96534 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b07a588 fix for catch version