The Giants and Pirates engaged in a back-and-forth tilt that featured four lead changes and two ties Tuesday. And Jung Ho Kang's tiebreaking solo home run to straightaway center in the eighth proved to be the difference, as Pittsburgh outlasted the Giants, 4-3, at AT&T Park.