gits remote set-url should support URL substitution
Note two URL form (<new> [old]) not supported