If you have collaborator permissions on a repository, you can create a branch off of the repository's default branch so you can safely experiment with changes. To propose a change to a repository you've forked, you can create a branch on your fork and then send a pull request to a project maintainer.

Creating a branch for a fork

Unlike Git on the command line, GitHub Desktop automatically knows which URL to sync with, so you don't need to manually configure a remote URL for the upstream repository.

Creating a branch

  1. At the top of the app, click .

    Create branch icon button in Mac

  2. In the Name field, type a meaningful name for your branch.

    Name branch field

  3. Optionally, in the From menu, choose an upstream branch to compare your changes against. Branch from menu
  4. Click Create branch. Create branch button
  1. At the top of the app, click .

    Create branch icon button in Mac

  2. In the Name field, type a meaningful name for your branch.

    Name branch field

  3. Optionally, in the From branch menu, choose an upstream branch to compare your changes against. Branch from menu
  4. Click Create new branch. Create branch button

Further reading