How to create a GitHub repository

Updated: 10/07/2019 by Computer Hope
GitHub logo

The steps below create a GitHub repository as a place to store your code or other work you plan on collaborating on with others.

  1. Open the GitHub website and create a new account if you do not have an account.
  2. Log in to your account.
  3. From the main page, click the New repository button.
  4. In the Create a new repository window (as shown below), type the Repository name of the repository you want to create with a description.

Creating a Github repository

  1. Enter a Description.
  2. Select either Public or Private depending on how you want to share the repository.
  3. If you want the repository cloned to your computer, select the option to Initialize the repository with a README.
  4. Finally, click the Create repository button.

Once the GitHub repository is created, you and anyone else with access can access the repository with Git.