San Francisco Giants outfielder Hunter Pence will undergo surgery Thursday for a torn right hamstring and is likely to be sidelined eight weeks.