GitHubのUIのSettingsのタブを開いてリネームする。

その後、以下のコマンドを入力 https以降はCodeのHTTPS欄でわかる。

git remote set-url origin <https://github.com/username/new-repo.git>

2025-10-09 19.34の画像.jpeg