You can't change the groups you're a part of, but you can choose which badges show up with your avatar.
Go to https://community.nodebb.org/me/edit and you'll see a "Group Title" select box. That's where you configure which titles show up below your avatar.