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 https://foo@bitbucket.org/foo/bar.git 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?

Thanks,

  • Git merge strategies: spaces make default shows no conflict and bring unexpected results
  • Estimate the size of a Git repository before cloning it
  • Git Workflow Review
  • How to use git merge-base on remote?
  • can't clone repo from remote - ssh keys identification error
  • Git - phantom local commits
  • Initializing a local git/gerrit repository - what's the optimal way to do this?
  • integrating Git Bash with Visual Studio
  • Is it safe to run your site within a Git repository on your production server?
  • rake release fail (using gem bundler)
  • Gitolite on Ubuntu: No adminkey given
  • Why do I have to push the changes I just pulled from origin in Git?
  • 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.