The most likely meaning of Julia wanting to join an affinity-based group at her school is:
She is going to choose something she is interested in.
Affinity-based groups are typically formed around shared interests, hobbies, or identities, so she would likely choose a group that aligns with her personal interests.