The IRGC’s external operations branch, the Quds Force, and its nominally domestic branch, the Ground Forces, have been advising PMF units and various Shiite militias since the rise of the Islamic State in 2014.