In looking at all four Gospels, there are only two genealogies and two accounts of the birth. Matthew presents a genealogy through Joseph and Luke through Mary. In addition, each gives an account of the birth of the birth from the same perspective:
Gospel Genealogy Birth Account
Matthew: Through Joseph Joseph's point of view
Luke: Through Mary ...