private void comboBoxBranches_TextChanged(object sender, EventArgs e)
{
if (comboBoxBranches.DataSource == null)
{
return;
}
_selectedBranch = DataSourceToGitRefs(comboBoxBranches).FirstOrDefault(a => a.LocalName == comboBoxBranches.Text);
SetSelectedRevisionByFocusedControl();
}