B550 is generally the better choice over B450 for Ryzen 5600G. B550 offers PCIe 4.0 support, faster USB speeds, and you won't have to worry about updating the BIOS for compatibility for ryzen 7 5700g as well.