Here GFCI’s are wired to a double-pole circuit breaker with the source split to provide 120 volts to two sets of receptacles. The neutral from the source is shared by both sets. Single-location protection is provided by each receptacle.
In this arrangement with 2 switches in one box, the bottom terminals are connected to pigtails spliced to the source. The top switch terminals connect to the black wires running to the light fixtures. The source neutral and ground wires are spliced to run to each light box.
Run the cable through the clamp and tighten it down. Splice the cable wires to the fan wires using a pigtail splice and a wire nut. Connect the ground to the grounding terminal in the connection box and the ground wire from the fan, if there is one.
Use this wiring when the source is at the fixture and you want to control the feed to both components with the same switch. Three-wire cable runs from the fan to the switch box and the source neutral is spliced to the white wire and to the fan neutral.