How to change branch without using UI?

Mado
Valued Contributor II

Hi,

I want to change the branch in Databricks Repo. When I click on the current branch name, there is a message that:

Change_Branch 

As you can see in the above image, I cannot see the list of branches to select. In fact, I selected a branch by mistake and I am not able to go back to the branch that I was working on.

I'd like to ask if there is another way to switch to another branch.

Thanks.