Many devices in a PV system are wall-mounted, like inverters, solar charge controllers (SCC), disconnects, busbars, etc.
Is it allowed by the NEC to connect the ground terminal of inverters and SCC in daisy-chain, and then connect the first (or last) device to the ground busbar? As shown in the following figure.

Or must I run a separate GEC for each device? As shown below. Is there a section requiring it?

I suppose the best practice is the second one, kind of similar to how it's usually recommended to pig-tail the hot and neutral of receptacles instead of daisy-chaining.
Is it allowed by the NEC to connect the ground terminal of inverters and SCC in daisy-chain, and then connect the first (or last) device to the ground busbar? As shown in the following figure.

Or must I run a separate GEC for each device? As shown below. Is there a section requiring it?

I suppose the best practice is the second one, kind of similar to how it's usually recommended to pig-tail the hot and neutral of receptacles instead of daisy-chaining.