One of the unfortunate experiences of preferring git CLI: entering git restore . instead of git restore --staged ..