Javier Baez lofted an eighth-inning home run into the basket in left field, giving the Cubs the only run they needed in a 1-0 win over the Giants to seize the lead in their National League Division Series matchup.