In the so-called "minimal group" experiments, Tajfel and colleagues (1971) divide participants according to an insignificant criterion, such as a preference between two painters. Without knowing one another or having any personal interest at stake, participants allocate on average more resources to members of their own group.
Brewer (1979) analyzes these results and emphasizes that this favoritism stems more from a preference for one's own group than from hostility toward others.
Why it is problematic
This bias can lead one to judge the same action differently depending on which side its author is on, and to accept an argument from another group less readily. It operates in every group, whatever they are. A message can also activate it simply by contrasting an "us" with a "them".
How to detect it
The same conduct is excused among one's own and condemned among others.
An argument is accepted or rejected depending on the affiliation of the person putting it forward.
A text dwells on the "us" and the "them" without addressing the substance.
How to protect yourself
Apply the inversion test: "What would I think if the other group did the same thing?"
Evaluate an argument while first masking who is defending it.
Consult sources and people from different backgrounds, and look for what can be acknowledged on both sides.
References
Henri Tajfel, M. G. Billig, R. P. Bundy, Claude Flament (1971). Social categorization and intergroup behaviour — DOI
Marilynn B. Brewer (1979). In-group bias in the minimal intergroup situation: a cognitive-motivational analysis — DOI