EXCLUSIVE

UFC superstar Cris Cyborg is a new woman -- she completed a court ordered anger management course stemming from her battery case with another UFC fighter ... and now she's in the clear!

TMZ Sports has learned ... Cyborg had cut a plea deal with prosecutors stemming from a May 2017 altercation with UFC fighter Angela Magana at a fighter retreat in Vegas.

Cyborg had been cited for battery for allegedly punching Magana in the face -- and faced up to 6 months in jail.

She initially pled not guilty --- but later accepted a deal in which she agreed to complete an "impulse control program" and stay out of trouble for 6 months.

Had she failed to hold up her end of the bargain, the judge could have locked her up for 45 days.

Fortunately, it won't come to that ... court records show Cyborg completed all of the terms, so the charge has been dismissed and the case is now closed.

If you're wondering what an impulse control program is ... it "teaches offenders to be accountable for their actions and provides participants with positive alternatives to inappropriate and impulsive behavior."