git restore --staged file.txt
Category: Git - Core
Unstage a file while keeping working directory changes