This topic shows how to browse a repository in
Cloud Source Repositories and how to switch from one repository to another.
Cloud Source Repositories simplifies viewing and accessing the repositories
that are important to you.

## Browse to a repository

1. In the Google Cloud console, open Cloud Source Repositories.

   [Open Cloud Source Repositories](https://source.cloud.google.com)

   The first page that opens is called the My source view. This page
   contains two sections:
   - **Starred**. This section displays repositories, branches, files, and
     folders that you flag as particularly important.

   - **Recently Viewed**. This section displays repositories, branches, files,
     and folders that you have viewed recently.

2. Click the name of a repository to view its contents.

   If the repository you want to view isn't listed in the **Starred** or
   **Recently Viewed** section, click **All repositories** to search for
   it. For more information, see
   [View all repositories](https://docs.cloud.google.com/source-repositories/docs/browsing-repositories#view_all_repositories).

## View all repositories

If you don't see the repository you want to open in the My source, you
can search for it by viewing all repositories.

1. In the Google Cloud console, open the My source view.

   [Open the My source view](https://source.cloud.google.com)

   From this page you can browse the list of repositories available to you.

   Alternatively, use the Breadcrumb toolbar to browse for a specific
   repository. This toolbar displays your current location in the repository
   and lets you move quickly to another repository or another location within
   a repository, such as a file, branch, or commit.
2. Click the name of a repository to view its contents.

## Select a different view of a repository

By default, the code search and source browsing interface opens a repository to
the master branch. You can also view a specific branch for that repository, or
view the repository as it existed at a specific commit or tag.

To select a different view of the repository, follow these steps:

1. On the Breadcrumb toolbar, click the **Branch/Commit/Tag** menu.

2. In the submenu, use the branch name, a tag name, or a search box to select a
   branch.

3. Select the state of the repository you want to view:

   - To select a branch using a branch name, select **Branch**, and then click the name of the branch.
   - To select a branch using a commit ID, select **Commit**, and then click the commit ID.
   - To select a branch using a tag name, select **Tag**, and then click the tag name.
   - To search for a branch, commit, or tag, select the corresponding item and type a search term in the search box.

## Switch to a different repository

To switch to a different repository, select the repository from the Breadcrumb
toolbar.

By default, the code search and source browsing interface opens a repository to
the master branch.

## Identify items with a star

You can identify important items such as repositories, folders, and files by
tagging them with a star. You can find starred items in the **Starred** section
of the My source view.

To star an item, click
the star
next to the item you're viewing.

You can return the My source view by clicking **Back to My Source** .
Your repository now appears in the **Starred** section.

> [!NOTE]
> **Note:** If you don't see the repository in the **Starred** section, try refreshing your browser.