Adds support for updating cached git repo url.
Fixes #10408
Merge pull request #10409 from Vye/gitfs_fix_url_change

Adds support for updating cached git repo url.