Muscles worked: glute anatomy
The gluteus maximus is the biggest and makes up most of the glutes' size. It extends the hip, moving the leg back and straightening the body out of a hinge or squat. The gluteus medius and minimus sit higher on the side. They move the leg out to the side and keep the pelvis level when you stand on one leg — when walking, running or lunging.
So the glutes need hip hinges, exercises with deep hip flexion (squats, lunges) and movements where you extend the hip with tension at the top, as in a hip thrust.