Gitlab issue flow

Hi, I was wondering if my working flow is the right or am i missing something.
When I start to work on an issue, I click on the “new branch” button and opening my IDE to start working on the code.
when i am trying to switch to the new branch i just created using gitlab “new branch” button from the issue screen, i can’t find the new branch.
I tried to list all the branches in the repository and i can’t see the new branch.
what is the right way to do this?
what is the use of this “new branch” button?