CircleCi cannot select branch even if it was built

I am trying to add a badge for a specific branch but for some reason, only them aster branch can be selected.

I have ignored the master branch in the config.yml:
version: 2
jobs:
build:
branches:
only:
- develop
ignore:
- master
Can you check why develop branch is not being picked up?

Hi Codrin,

Welcome to CircleCI Discuss!

Can you let me know what VCS you are using? Also, is the branch still an active/open branch within your VCS project? If so, try unfollowing and following the project again within CircleCI.

If you are still unable to see your branches, I would recommend creating a support ticket, and we will be able to help you further there. However, for now, you can work around this by adding ?branch=develop at the end of your project URL.