Introduction to GitHub

GitHub hosts Git repositories and provides tools for discussing issues and reviewing changes. You can use it to share the project-notes repository from the Git lessons.

On this page

Know what lives on GitHub

The Code tab shows the repository files and lets you switch between branches. A README at the root explains what the project does and how to start. Issues track tasks and bugs. Pull Requests show proposed changes and reviews.

Code           Files, branches, and commit history
Issues         Tasks, bug reports, and discussions
Pull requests  Proposed changes and reviews

Create an empty GitHub repository

Sign in to GitHub and open New repository. Choose an owner and name it project-notes. Public repositories can be viewed by anyone. Private repositories are limited to authorized users. Since your local project already has commits, skip adding a README, license, and .gitignore on GitHub. You will connect the two repositories in the next lesson.

Repository name: project-notes
Visibility: Private
Initialize README, .gitignore, and license: Skip

Official references