I\'m using VS Code with Git - it\'s in portable location C:\\_DEV\\bin\\git and is also added to Windows PATH so it works just fine with no remotes.
I have a OneDriv
Restarting VS Code works. A bit easier than disconnecting and re-mapping the folder (which also works).