Quick note on the Subversion analogy: the equivalent Subversion command would probably be [code]svn relocate[/code], which is used to change the repository's root URL. The [code]svn switch[/code] command is only used when switching to another branch within (the root of) the repository, which is actually more like [code]git checkout[/code].