The Dodgers led by six runs early before a Giants comeback made it a one-run game, but Mookie Betts helped put it away with the third of his three hits.