# Macro cannot find a file in a repository that still uses "master" **What you are seeing** The macro cannot find a file in a repository that still uses "master" as its default branch. --- ## Why it happens Capable assumes the default branch is 'main'. Only the Appfire File migrator assumes 'master'. --- ## What to do Pick the file through Browse GitHub, which uses the repository's actual default branch, or paste a URL that names the branch explicitly. --- ## Settings involved | **Setting** | **Where** | **What it does** | | --------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | Hide GitHub across the whole site | A site-wide app property set by your admin | Hides GitHub across your site. This only removes the GitHub byline. It does not stop existing GitHub macros from showing on pages. | | Turn GitHub on or off per space | A space property | Always off hides the byline in that space. Always on shows it even on pages with no GitHub macro. Again, this affects the byline only. Macros still show. | | Unlicensed and anonymous access | Not user-configurable | Readers outside your licence, or not logged in, can still see public file content in a read-only view, but they do not get the GitHub byline. | --- ## Limits that apply here | **Limit** | **Value** | **What happens** | | ----------------------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------- | | Repository list size | 100 at a time | The picker loads your repositories 100 at a time. | | Public repository search: first page only | \- | Search runs only when you type a query, and only for the first page of results. Paging further shows only your own repositories. | | Image height | 800px | Images in the macro show up to 800px tall. | --- ## Related ### [Cannot choose a different branch in the Browse GitHub picker](https://help.gocapable.com/git/cannot-choose-a-different-branch-in-the-browse-github-picker.html) There is no branch picker in the Confluence file browser. The branch list is fetched but t ### [Cannot find a public repository I do not belong to in the picker](https://help.gocapable.com/git/cannot-find-a-public-repository-i-do-not-belong-to-in-the-picker.html) Public repositories you are not a member of appear only through search, and only on the fi ### [Permissions and access](https://help.gocapable.com/git/permissions-and-access.html) The rest of this family. --- _Found it? Good._