In case you're wondering about other match-ups, here is the complete list of which teams have played each other how many times.
11 Dodgers & Yankees
7 Giants & Yankees
5 Cardinals & Yankees
4 Athletics & Giants
4 Braves & Yankees
4 Cubs & Tigers
3 Cardinals & Red Sox
3 Cardinals & Tigers
3 Reds & Yankees
2 Athletics & Cardinals
2 Athletics & Cubs
2 Athletics & Dodgers
2 Athletics & Reds
2 Braves & Indians
2 Cubs & Yankees
2 Giants & Senators
2 Orioles & Pirates
2 Phillies & Yankees
2 Pirates & Yankees
1 Americans & Pirates
1 Angels & Giants
1 Astros & White Sox
1 Athletics & Braves
1 Athletics & Mets
1 Blue Jays & Braves
1 Blue Jays & Phillies
1 Braves & Twins
1 Brewers & Cardinals
1 Browns & Cardinals
1 Cardinals & Rangers
1 Cardinals & Royals
1 Cardinals & Twins
1 Cubs & Red Sox
1 Cubs & White Sox
1 Diamondbacks & Yankees
1 Dodgers & Orioles
1 Dodgers & Twins
1 Dodgers & White Sox
1 Giants & Indians
1 Giants & Rangers
1 Giants & Red Sox
1 Giants & Tigers
1 Giants & White Sox
1 Indians & Marlins
1 Indians & Robins
1 Marlins & Yankees
1 Mets & Orioles
1 Mets & Red Sox
1 Mets & Yankees
1 Orioles & Phillies
1 Orioles & Reds
1 Padres & Tigers
1 Padres & Yankees
1 Phillies & Rays
1 Phillies & Red Sox
1 Phillies & Royals
1 Pirates & Senators
1 Pirates & Tigers
1 Red Sox & Reds
1 Red Sox & Robins
1 Red Sox & Rockies
1 Reds & Tigers
1 Reds & White Sox
Source: Wikipedia, of course! 😃