Synchronizing Remote URLs
The remote URL that a Submodule was cloned from is kept in various places in Git (e.g. in your local .git/config, in .gitmodules, and in the Submodule's own .git repository).
These values can diverge, e.g. …
- if the remote moved to a different server, hosting service, or if it was simply renamed.
- if the URL was deliberately overwritten with a local value.
- if the configuration simply wasn't managed carefully.
In case you want to restore the remote URL to its default value from .gitmodules, you can use Tower's
option in the Submodule's right-click menu. This will make sure that all configuration values for the remote URL match the main value in .gitmodules.