Skip to content

Instantly share code, notes, and snippets.

@acidtone
Last active September 27, 2021 05:04
Show Gist options
  • Save acidtone/5edd2d46abc9d17c665ca83594541e23 to your computer and use it in GitHub Desktop.
Save acidtone/5edd2d46abc9d17c665ca83594541e23 to your computer and use it in GitHub Desktop.
Git Activity: Create a GitHub repository

Git Activity: Create a GitHub repository

Source: Create a repo in the GitHub Docs.

  1. Create a GitHub repository
  2. Clone a GitHub repository
  3. Add an empty webpage to a local repo
  4. Commit changes to index.html.
  5. push changes to GitHub.
  6. Deploy your GitHub repo to GitHub Pages.

Pre-requisites

  • Logged into GitHub account

Instructions

  1. In the upper-right corner of any page, use the
  • drop-down menu, and select New repository.

    Drop-down with option to create a new repository

  1. Type a short, memorable name for your repository. For example, "hello-world".

    Field for entering a repository name

  2. Optionally, add a description of your repository. For example, "My first repository on GitHub."

    Field for entering a repository description

  3. Choose a repository visibility. For more information, see "About repositories."

    Radio buttons to select repository visibility

  4. Select Initialize this repository with a README. Initialize this repository with a README checkbox

  5. Click Create repository. Button to create repository

    Button to create repository

Next Steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment