I’m not sure why or how, but from time to time, some files and folders in the sidebar will be color-coded incorrectly to show git status. In my case, they are shown in green when they are not new to the repo.
The fix I have found is to run git repack and then git gc in a terminal pointed at the root of the repo.