Username: ваш email
Password: ваш скопированный токен (вместо пароля)
> ssh-keygen
> git config --global credential.helper manager
> git config credential.helper
git config --global user.email ВАШ_ЕМЭЙЛ
git config --global user.name ВАШЕ_ИМЯ
> git config --get user.name & git config --get user.email
ВАШЕ_ИМЯ
ВАШ_ЕМЭЙЛ
> git config --global core.editor "'C:\Program Files\Sublime Text\sublime_text.exe\' --wait"
> git config --get core.editor
'C:\Program Files\Sublime Text\sublime_text.exe' --wait
git config --global init.defaultBranch main
D:\Java\StartJava
> git init
Initialized empty Git repository in D:/Java/StartJava/.git/
D:\Java\StartJava (master)
> ls -a
./ ../ .git/ about.txt src/
git config --global core.quotepath off
// 1 - системные настройки
file:C:/Program Files/Git/etc/gitconfig diff.astextplain.textconv=astextplain
file:C:/Program Files/Git/etc/gitconfig filter.lfs.clean=git-lfs clean -- %f
file:C:/Program Files/Git/etc/gitconfig filter.lfs.smudge=git-lfs smudge -- %f
file:C:/Program Files/Git/etc/gitconfig filter.lfs.process=git-lfs filter-process
file:C:/Program Files/Git/etc/gitconfig filter.lfs.required=true
file:C:/Program Files/Git/etc/gitconfig http.sslbackend=openssl
file:C:/Program Files/Git/etc/gitconfig http.sslcainfo=C:/Program Files/Git/mingw64/etc/ssl/certs/ca-bundle.crt
file:C:/Program Files/Git/etc/gitconfig core.autocrlf=true
file:C:/Program Files/Git/etc/gitconfig core.fscache=true
file:C:/Program Files/Git/etc/gitconfig core.symlinks=false
file:C:/Program Files/Git/etc/gitconfig core.editor="C:\\Program Files\\Sublime Text\\sublime_text.exe"
file:C:/Program Files/Git/etc/gitconfig pull.rebase=false
file:C:/Program Files/Git/etc/gitconfig credential.helper=manager
file:C:/Program Files/Git/etc/gitconfig credential.https://dev.azure.com.usehttppath=true
file:C:/Program Files/Git/etc/gitconfig init.defaultbranch=master
// 2 - глобальные настройки
file:C:/Users/idesp/.gitconfig user.email=ВАШ_ЕМЭЙЛ
file:C:/Users/idesp/.gitconfig user.name=ВАШЕ_ИМЯ
file:C:/Users/idesp/.gitconfig core.editor='C:\Program Files\Sublime Text\sublime_text.exe\' --wait
file:C:/Users/idesp/.gitconfig core.quotepath=off
// 3 - локальные настройки
file:.git/config core.repositoryformatversion=0
file:.git/config core.filemode=false
file:.git/config core.bare=false
file:.git/config core.logallrefupdates=true
file:.git/config core.symlinks=false
file:.git/config core.ignorecase=true