Chapter 3

Introducing GitHub Repositories

IN THIS CHAPTER

Bullet Touring a repository?

Bullet Creating a Hello World repository

Bullet Exploring repository issues, pull requests, and project boards

Almost everything on GitHub.com revolves around a repository.

In this chapter, you find out how you can set up a repository, interact with it, and create project boards and issues.

Setting Up a Repository

A GitHub repository is a folder with all the files needed for your project, including the files that track all the versions of your project so that you can revert back if you make a mistake. A repository on GitHub also tracks who can collaborate and how.

To get a better understanding of what a repository is and how it is structured, you need to create your first GitHub repo:

  1. Go to the home page of GitHub.com by clicking the Octocat.

    A list of your repositories appears on the bottom left side of the screen.

  2. Click the green New Repository button.

    The Create a New Repository dialog page, shown in Figure 3-1, opens.

  3. Type the name of your repository in the Repository name text box.

    I named my repository HelloWorld.

  4. Type a short description in the Description text box.
  5. Select the Public radio button.
  6. Click ...

Get GitHub For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.