Managing remote repositories - GitHub Docs

PHOTO EMBED

Sun Jun 09 2024 00:07:29 GMT+0000 (Coordinated Universal Time)

Saved by @calazar23

$ git remote add origin https://github.com/OWNER/REPOSITORY.git
# Set a new remote

$ git remote -v
# Verify new remote
> origin  https://github.com/OWNER/REPOSITORY.git (fetch)
> origin  https://github.com/OWNER/REPOSITORY.git (push)
content_copyCOPY

https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories