Hi, check the documentation here. You’ll want to use ::changeset, ::timestamp, and ::version at the least in your query.
I also use out meta in my query, export to GeoJSON, then convert to csv in my software.
Here’s a quick test for you to start overpass turbo