change the URL of your Git origin remote.
git remote set-url <remote_name> <remote_url>
get <remote_name>t@raspberrypi:/home/homeassistant20221103# git remote
origin
t@raspberrypi:/home/homeassistant20221103# git remote -v
origin https://github.com/mslycn/Home-AssistantConfig20221103.git (fetch)
origin https://github.com/mslycn/Home-AssistantConfig20221103.git (push)
<remote_name> <remote_url>
git remote set-url origin https://github.com/mslycn/Home-AssistantConfig20221103.git
t@raspberrypi:/home/homeassistant20221103# git remote -v
origin https://github.com/mslycn/Home-AssistantConfig20221103.git (fetch)
origin https://github.com/mslycn/Home-AssistantConfig20221103.git (push)
https://devconnected.com/how-to-change-git-remote-origin/