The superior gemellus muscle arises from the ischial tuberosity and inserts on the greater trochanter and rotates the thigh outward.