To set up basic Windows notepad as a default text editor in git, please, open the git bash and execute the next command:

git config --global core.editor "notepad"


And press enter. After this notepad will be set as a default text editor.