Nothing to do with the same moves.
Everything to do with the same position.
Same position not only means all the same pieces on all the same squares. But also the same player to move and all the same legal moves (like en passant or castling).
It's unlikely to happen of course, but if the same position occurred on moves 10, 20, and 47 you could claim a draw.
Do both players have to make same 3 moves or only the one trying to force the draw? What is the exact rule?