You can create a new repository on your personal account or any organization where you have sufficient permissions.

Tip: By default, all organization members can create repositories for the organization. If you choose, you can restrict repository creation permissions to organization owners only. For more information, see "Repository permission levels for an organization."

  1. In the upper-right corner of any page, click , and then click New repository. New repository menu

  2. In the Owner drop-down, select the account you wish to create the repository on. Owner drop-down menu

  3. Type a name for your repository, and an optional description. Create repository field
  4. You can choose to make the repository either public or private. Public repositories are visible to the public, while private repositories are only accessible to you, and people you share them with. Your account must be on a paid plan to create a private repository.
  5. There are a number of optional items you can pre-populate your repository with. If you're importing an existing repository to GitHub, don't choose any of these options, as you may introduce a merge conflict. You can choose to add these files using the command line later.

    • You can create a README, which is a document describing your project.
    • You can create a .gitignore file, which is a set of ignore rules.

    • You can choose to add a software license for your project.

  6. When you're finished, click Create repository.

  7. At the bottom of the resulting Quick Setup page, under "Import code from an old repository", you can choose to import a project to your new repository. To do so, click Import code.

Further reading