Blake Snell has agreed to a 2-year, $62 million deal with the Giants, the team announced on Tuesday.