From the referer header. If someone clicks from google the search fields are transmitted in the referrer.
If this bothers you, use duckduckgo.com which has a special bounce-page to hide this info.
If this bothers you, use duckduckgo.com which has a special bounce-page to hide this info.
Or something like RefControl http://www.stardrifter.org/refcontrol/ for Firefox and control what and to whom you send.
Google SSL uses POST for the search query parameters, so the referrer URI w/ GET parameters will not leak your search terms.