if only Jesus and the devil were present during thin entire encounter, how do you know how it happened...there was no one else there to record the event.
It seems the Holy Spirit was.
John 14:26 But the Comforter, which is the Holy Ghost, whom the Father will send in my name, he shall teach you all things, and bring all things to your remembrance, whatsoever I have said unto you.
Interesting question. why did you ask it?