That would depend on what you need to edit.
In any case any and all edits should be done via a child theme or a custom css/functionality plugin. For the footer you’d copy footer.php and place it in your child theme then edit away – for footer related functionality then you’d do those in the child theme’s functions.php.
Hope that helps,
Zulf