Looks like a good use case for git on LAN? You can tag or branch your config sets rolled out for other machines than yours. Later merge all your latest and greatest changes from your machine into the friends' branches from time to time. If something breaks you can easily go back in time.
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first