Can you move the `--discover` functionality to a different command? Maybe `git tfs list-branches`? It doesn't look like the code in `Run` shares anything in the `Clone` class.