RStudio terminal has persistent illegible green background after using git CLI

Hello all,

Wondering if this has something to do with the newest version of RStudio, which I upgraded to recently (2025.05.1 Build 513, R version 4.4.1). Does anyone else have this inexplicable green highlight in their terminal as soon as they begin using the git CLI? It's a neon green highlight on white text, which makes it really hard to read. My terminal window is running PowerShell.

The screenshot shows what I mean. I do normal terminal stuff like cd in and out of folders, no problem. As soon as I run git status, the madness begins. All subsequent text is highlighted in neon green.

I initially suspected that it was a quirk with the theme I use ("cobalt"), but I've changed the theme and rebooted RStudio. The issue persists, albeit in a slightly different shade of green. Depending on the theme selected, the legibility ranges from passable but annoying to completely inscrutable.

TIA for the help!