private void RemotesSelectedIndexChanged(object sender, EventArgs e)
{
if (!(Remotes.SelectedItem is string))
return;
_remote = (string) Remotes.SelectedItem;
RemoteName.Text = _remote;
Url.Text = GitCommands.GitCommands.GetSetting(string.Format("remote.{0}.url", _remote));
PuttySshKey.Text =
GitCommands.GitCommands.GetSetting(string.Format("remote.{0}.puttykeyfile", RemoteName.Text));
}