I’m assuming you are using tortoise git? I’ve had the issue before, sometimes pressing F5 fixes it other times it just goes away after tortoise resyncs itself.
Here is another possible fix link.
The current workaround is to kill TGitCache.exe with the Windows task manager.