The gluteus medius muscle originates on the outer surface of the ilium between the iliac crest and the posterior gluteal line above, and the anterior gluteal line below; the gluteus medius also originates from the gluteal aponeurosis that covers its outer surface. The fibers of the muscle converge into a strong flattened tendon that inserts on the lateral surface of the greater trochanter. More specifically, the muscle's tendon inserts into an oblique ridge that runs downward and forward on the lateral surface of the greater trochanter.
Located deep in the front of the hip and connecting the leg, pelvis, and abdomen, the hip flexors— surprise, surprise— flex the hip. But despite being some of the most powerful muscles in our bodies (with a clearly important role), it’s easy to neglect our poor hip flexors— often without even knowing it. It turns out just working at a desk all day (guilty!) can really weaken hip flexors since they tend to shorten up while in a seated position. This tightness disrupts good posture and is a common cause of lower back pain. Weakened hip flexors can also increase the risk of foot, ankle, and knee injuries (especially among runners) Hip muscle weakness and overuse injuries in recreational runners. Niemuth, P.E., Johnson, R.J., Myers, M.J., et al. Rocky Mountain University of Health Professions, Provo, VT. Clinical Journal of Sport Medicine, 2005 Jan; 15 (1): 14-21.. So be sure to get up, stand up every hour or so! And giving the hip flexors some extra attention is not just about injury prevention. Adding power to workouts, working toward greater flexibility, and getting speedier while running is also, as they say, all in the hips The effect of walking speed on muscle function and mechanical energetics. Neptune, R.R., Sasaki, K., and Kautz, S.A. Department of Mechanical Engineering, The University of Texas, Austin, TX. Gait & Posture, 2008 Jul; 28 (1): 135-43..

Note that this recommendation is for total weekly volume, which means it would need to be divided up based on how many times you’re training each muscle group per week. So, for example, someone training everything twice per week would do 30-70 reps for each bigger muscle group in each of those workouts, and 15-35 reps for each smaller muscle group in each of those workouts.