The Giants put up four runs in the top of the 10th, including a go-ahead RBI single by Hunter Pence and an RBI double from Denard Span