Just as an add-on....
Both men and women gossip, a lot. We already discussed the importance of not leaking personal stuff about yourself. Also, if someone tells you something in confidence, keep it that way. Be that extremely rare person who keeps things quiet, and people will feel comfortable telling you all kinds of things.
More importantly, don't talk shyte about other people, not matter how much you dislike them. People will really respect you when you avoid speaking ill of others. Also be careful about people trying to BAIT you into talking shyte about others. This is a common (fictitious) scenario...
Gossiper: Mike32ct is a jerk, don't you think?
You: yeah kinda
Gossiper: <Tells everybody> I never said anything bad about Mike. I like him, but Joji told me that he's a jerk.
TDLR: When people try to bait you into leaking info about yourself, or leaking secrets or talking shyte about others, don't take the bait.
(I work in an office, so I learned how nasty gossipers can be.)