ssh-keygen
[SSH]の公開鍵と秘密鍵を生成する`$ ssh-keygen -t ed25519 -P ""`基本ed25519にしよパスフレーズなしでもそんなに問題なさそう[reference.icon] [【 ssh-keygen 】コマンド――SSHの公開鍵と秘密鍵を作成する:Linux基本コマンドTips(327) - @IT https://www.atmarkit.co.jp/ait/spv/1908/02/news015.html]
$ ssh-keygen -t ed25519 -P "" -f .ssh/github_ed25519
Host github github.com
HostName github.com
IdentityFile ~/.ssh/github_ed25519
User git
$ pbcopy < ~/.ssh/github_ed25519.pub
$ clip.exe < ~/.ssh/github_ed25519.pub
git clone git@github.com:dragoon8192/files.git
git remote add origin git@github.com:dragoon8192/files.git
git push -u origin master
$ git push -u
$ git push --set-upstream
$ git branch -M main