gh repo create --source=. --public
git init -b main
git add . && git commit -m "initial commit"
git remote add origin git@github.com:jamesmaino/<REMOTE_PATH>.git
git push
If you are modifying a cloned repo and what to change the remote origin you personal account use the following.
git remote set-url origin https://git-repo/<REMOTE_PATH>.git