$ git clone -n https://src.fedoraproject.org/rpms/patat.git /var/lib/mock/f38-build-side-42-init-devel-1168087-30609/root/chroot_tmpdir/scmroot/patat Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1168087-30609/root/chroot_tmpdir/scmroot/patat'... $ git fetch origin 7f5542d487267e41e12f30cbcd64034c2b00f3bc:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/patat * [new ref] 7f5542d487267e41e12f30cbcd64034c2b00f3bc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f5542d update to 0.8.8.0