If the master branch is empty you can't change the branch in source tab although there are other branches with source in it.
You can probably work around this by setting a different default branch. This is probably best if you aren't using master and it isn't your main branch. This can be done in the repository administration main page.
You should set the main branch to the default branch you are wanting to view in the source browser.