GitHub Get Started

Learn how GitHub works, create your first repository, and connect it with your local Git project.

On this page

What is GitHub?

GitHub is a hosting platform for Git repositories. It allows you to store your code online, collaborate with others, track issues, and manage pull requests.

Create a GitHub account

Sign up at github.com and verify your email address.

Create a new repository

  • Click New Repository
  • Choose a repository name
  • Select Public or Private
  • Do not initialize with README if connecting existing project

Repository URL

After creating the repository, GitHub provides a remote URL. It can be HTTPS or SSH.

Typical workflow

  • Create local repository
  • Add remote
  • Push to GitHub
  • Collaborate using branches and pull requests

Public vs Private repositories

  • Public: Anyone can see the code
  • Private: Only invited users can access