Unit 0.1: GitHub Account Setup and Basics

Author

Emmanuel Thompson

Published

January 13, 2024

Introduction

This guide covers signing up for GitHub, creating repositories, folders, uploading files, and adding collaborators.


Steps to Sign Up for GitHub

  1. Visit GitHub: Go to GitHub’s website.
  2. Sign Up: Click “Sign Up” (top-right corner) and fill in:
    • Email Address
    • Password
    • Username
  3. Verify Human: Complete the CAPTCHA.
  4. Choose Plan: Select “Free Plan” (default).
  5. Email Verification: Verify your email via the link sent by GitHub.
  6. Setup Profile: (Optional) Provide usage preferences.
  7. Start Using GitHub: Access your dashboard to begin creating repositories.

How to Create a Repository

  1. Log in to your GitHub account.
  2. On the dashboard, click the New button (or go to Repositories > New).
  3. Fill in the repository details:
    • Repository Name: Choose a descriptive name.
    • Description (optional): Add a short description.
    • Visibility: Choose Public (default) or Private.
  4. Check the box to initialize with a README file (optional but recommended).
  5. Click Create Repository to finish.

How to Create a Folder and Upload a File

Create a Folder

  1. Navigate to your repository.
  2. Click Add File > Create New File.
  3. Enter the folder name followed by a / (e.g., FolderName/), then add a file name.
  4. Add content and click Commit Changes to save.

Upload a File

  1. Navigate to your repository.
  2. Click Add File > Upload Files.
  3. Drag and drop or select files to upload.
  4. Click Commit Changes to finalize.

How to Add Collaborators

Add a Single Collaborator

  1. Navigate to your repository.
  2. Go to Settings > Collaborators and Teams.
  3. Click Add People and enter the username or email.
  4. Confirm by clicking Add as Collaborator.

Add Multiple Collaborators

  1. Follow the same steps as above.
  2. Add each collaborator one by one by repeating the process.

For more on GitHub, visit GitHub Docs.