usermod -a -G examplegroup exampleusername

Example:
usermod -a -G www-data amin

More:
https://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/