Git Remote
Learn about Git Remote in Git
List remote repositories
git remote -v
This command lists the remote repositories that are associated with the local repository. The -v flag shows the URLs of the remote repositories.
Add a remote repository
git remote add remote_name remote_url
This command adds a new remote repository to the local repository. The remote_name is the name of the remote repository, and remote_url is the URL of the remote repository.
Remove a remote repository
git remote remove remote_name
This command removes the remote repository with the name remote_name from the local repository.
Free Resources
official: