How did Philip baptize?

It was to Philip that Messiah had openly declared Himself to be the Heavenly Father, YHVH –

John 14 : 8, 9, 7
“Philip said to Him, ‘Lord, show us the Father, and we shall be satisfied.’ (He) said to him, ‘Have I been with you so long, and yet you do not know Me, Philip?  He who has seen Me has seen the Father; how can you say,  ‘Show us the Father’ … If you had known Me, you would have known My Father  also; henceforth you know Him and have seen Him”‘.

Acts 8 :12
“But when they believed Philip’s preaching of the Good News about the Kingdom….and the Name of YAHU’SHUAH Messiah, they were baptised, both men and women. .. “

Verses 14-16 of this same chapter confirms the baptism in “the Name of YAHU’SHUAH” and reveals the fact that Philip had baptised many men and women in Samaria in this way!