SourceControl: Error: fatal: Invalid path '/Memory': No such file or directory

Everytime I run the project, I got error in Output Log and Revision Control Log.

SourceControl: Error: fatal: Invalid path '/Memory': No such file or directory

I am using Git for version control. I Commit C++ code via Visual Studio and UASSET file via revision control.
Actually there seems no problem for now, successfully Commiting and pushing.
But it’s been said “Do not leave Compiler error!” right?
So I want to resolve this problem but I don’t know much about Git and I could not find out effective solution.
Anyway I don’t have any file or directory named Memory originally.
I added Memory folder in the directory, problem has not resolved.

Thanks.

I shut off version control in Unreal Engine (Tools > Connect to Revision Control > None) and left it on in Visual Studio (Git menu) and the error went away. You will still have version control within VS but will no longer see the SourceControl message within UE 5. Hope this helps.