Before you load into a game, your mods are compared with the host's. A popup shows what differs, the host's version beside yours, and lets you join or cancel.
Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.