The Giants got two runs in the eighth inning and held on for the win Saturday night.