GitHub に SSH キーを登録する

ssh-keygen -t ed25519 -C "hoge@nd-sss.com"

2. 鍵の保存場所
「Enter file in which to save the key」: 表示されたパスを覚えてEnter

3. パスフレーズ
「Enter passphrase」パスフレーズを入力

4. SSH Key を GitHubに登録
GitHubにログイン
右上自分アイコン→Stettings
左ナビ 「SSH and GPG keys」
「New SSH key」
Title : hogeの鍵
Key type : Authentication Key
Key : id_ed25519.pubの内容
「Add SSH key」
認証要求があるので回答

5. テスト
ssh -T git@github.com
yes
パスフレーズ入力