Are remote addresses pushed in Git?

When I’m working on a Git project, I clone the repo from Github, then add a remote: git remote add bitbucket then I commit and push to both origin and bitbucket. Is the new remote also saved in Github? Will the other users see that I have added a new remote? Or is it just stored locally?


  • git rebase basics
  • How do I list all comments posted on my changes in gerrit?
  • What causes git's post-receive umask to be different from the user's umask?
  • How to move all commits from a branch to another?
  • Git over Email
  • Git pull fatal: Out of memory, malloc failed
  • Best way to maintain a Git fork
  • How to find all refs that contain a commit in their history in git
  • Edit an AndroidManifest when compiling to remove API-key
  • Git stash in Qt Creator fails if new files have been added to the project since last commit
  • View unstaged diff from git interactive add
  • git ssl without env GIT_SSL_NO_VERIFY=true
  • 3 Solutions collect form web for “Are remote addresses pushed in Git?”

    Which remotes are used for your copy of a repository is not part of the repository itself and thus not pushed.
    Note that the remotes can also be local or on private networks.

    No, they are not. The git remotes are not a part of the git repository, and are only stored locally inside the .git folder.

    No, the remotes settings are locally inside your .git folder and are not pushed back to any of the remotes you’ve set

    Git Baby is a git and github fan, let's start git clone.