how to open text editor in git bash code example Example: how to open text editor in git bash $ git config --global core.editor "code --wait"