В ожидании вашего редактора закрыть файл
# <================== notepad++ ==================>
# if you have problem with notepad++ here is the solution
git config core.editor "'C:\Program Files\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
# <==================== vscode ====================>
# if you have problem with visual studion code here is the solution
git config --global core.editor "code --wait"
rng70