How can I group or link multiple layers?

Click on one layer > press SHIFT (if layers are next to each other) or CTRL/COMMAND (if layers are not next to each other) and click on the rest of the desired layers. Then drag into the group layer (or group button at the bottom of the layer’s panel) or press the link button at the bottom of the layer’s panel.