One caveat on setting up a node. It only has effect if you are meaningfully transacting on the Bitcoin network. For example, might you buy or sell one fork or the other, do you have any debts owed to you (includes deposits at exchanges) that you would request be paid on one fork or the other?
If any of that is true, then you should setup a node, preferably on hardware under your control. An old laptop or spare desktop can work. Get the software from https://bitcoinuasf.org/ and assuming you’re using Ubuntu you should verify what you’re installing. I made a barebones summary on how to download and verify at https://pastebin.com/w0PpfV6G