You can create or delete branches directly on GitHub.

  1. On GitHub, navigate to the main page of the repository.

  2. Click the branch selector menu. branch selector menu

  3. Type a unique name for your new branch.
  4. Press Enter.

Deleting a branch from closed or merged pull requests

  1. On GitHub, navigate to the main page of the repository.

  2. Above the list of files, click NUMBER branches. Branches link on overview page

  3. Scroll to the branch that you want to delete, then click . delete the branch

Further reading