We can unstage files from the index using
> git reset HEAD -- path/to/file e.g. > git reset HEAD -- app/config.php