Linking Github repository - Can't select production branch


I have built a small static site, pushed the code to Git and would like to deploy it on Cloudflare Pages. I linked the Github repository however when I try to select the main branch from the “production branch” dropdown, there are no options to choose from.

Screenshot 2024-04-26 at 12.17.55

How can I select the main branch?

For anyone having the same problem, the issue disappeared by itself when I tried again about one hour later.