in bash type command: git config --global sequence.editor "code --wait --reuse-window"
then CTRL + SHIFT + P and type "PATH" and pick: "Shell Command: Install 'code' command in PATH"
Here you go