-
They're not really editable.
https://www.fitfiletools.com/#/top can fix some stuff for you such as removing obvious power spikes, etc.
Otherwise use a tool to convert .fit to .tcx (or .gpx) and then you can edit the XML to your heart's content.
Converting back to a .fit file isn't well handled at the moment so .git -> .tcx -> .fit may/will lose a bunch of info, but general power/location/time/cadence/HR/etc stuff should survive.
What do you want to change?
Does anyone know how to edit .fit files?