How do i export R markdown Files?

Hello! please I'm trying to export Rmarkdown files to GitHub and kaggle. I need guidance on how to go about it. :smiling_face_with_tear: