GitHub:: Test SSH Connection

ssh -vT git@github.com

Repo:: Show URL

git remote show origin

Repo:: Set URL

git remote set-url origin git+ssh://git@github.com/username/repo-name.git

Fork:: Add a Remote “upstream”

git remote -v
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git remote -v

Fork:: Sync with Remote

git fetch upstream
git checkout main
git merge upstream/main
git push