Command prompt throws an error when git config --global -e - Setting up Git - Visual Studio Code

Just an easy fix for me, hope it is for you as well.

When your path for Visual Studio Code in the command prompt when configuring Git isn't working and it is a new VS install... restart your computer after installing Visual Studio Code.  It should set the path and "code" will work in command prompt.

smiley