You can backup your config files before editing them, like this:
cp configbeingedited.conf configbeingedited.conf__orig_datestring
This way, when things break or don’t function how you like, you can easily copy the original config file back into position, restoring the original functionality.
Never knew about this tool, good to know!