Skip to main content
Collaborate at HartSign in

← Back to Help Center

Browsing files and branches

Navigate repository code, switch branches, and open individual files.

  1. 1. Open a repository

    From the home activity feed or a direct link, open /{owner}/{repo}. The Code tab shows the file tree and README when present.

  2. 2. Switch branches

    Use the branch selector at the top of the Code tab to pick another branch. The URL updates with ?branch= so you can bookmark a branch view.

  3. 3. Browse folders

    Click folders in the file listing to drill down. Breadcrumb links let you jump back up the tree on the same branch.

  4. 4. View a file

    Click a file name to open the file viewer at /{owner}/{repo}/src/{branch}/{path}. Use Download or the raw link for a copy of the file contents.

  5. 5. Manage branches

    Open the Branches tab to see every branch, create a branch from an existing one, merge, or delete branches you manage.