git-remote
Manage set of tracked repositories ("remotes"). tldr-pages
On several platforms
Several platforms
List existing remotes with their names and URLs
git remote --verboseIdentifyShow information about a remote
git remote show remote_nameIdentifyAdd a remote
git remote add remote_name remote_urlIdentifyChange the URL of a remote (use --add to keep the existing URL)
git remote set-url remote_name new_urlIdentifySet push remote to be different from fetch remote
git remote set-url remote_name new_url --pushIdentifyShow the URL of a remote
git remote get-url remote_nameIdentifyRemove a remote
git remote remove remote_nameIdentifyRename a remote
git remote rename old_name new_nameIdentify