Answer:
Since the Giants moved from New York to San Francisco in 1958, they have appeared in the World Series four times (in 1962, 1989, 2002 and 2010). They won their first world championship in the Bay Area in 2010, defeating the Texas Rangers in five games.