What is your production take on How do I undo 'git add' before commit?

Pulled from common Stack Overflow threads:

What is your modern answer, and where does the usual advice break down at scale?

Arthur

git restore --staged <path> is the modern answer, but at scale the failure mode is using broad unstaging like git reset in dirty trees where.

Ellen