Baptism in what name?

Go therefore and make disciples of all the nations, baptizing them in the name of the Father and the Son and the Holy Spirit (Mat 28:19)

In Matthew 28:19 Jesus commands us to make disciples of all the nations baptizing them in the name of the Father and the Son and the Holy Spirit while in the book of Acts (2:38, 8:16, 10:48, 19:5) we see they were baptizing in the name of Jesus Christ.

So which is the correct way? There appears to be a contradiction here, but we know that the bible does not contradict itself. There must be an answer.

The answer is both ways are acceptable because baptism in the name of Jesus is the same as baptism in the name of the Father and the Son and the Holy Spirit.

They are the same, the three are one.

Is baptism a work?