{
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "# \n",
        "\n",
        "# Setting Up a GitHub Account\n",
        "\n",
        "## topics\n",
        "\n",
        "-   Create a GitHub account\n",
        "-   Connect your laptop so files can sync to GitHub\n",
        "-   Using Git itself is covered in the next deck\n",
        "\n",
        "## Git vs. GitHub\n",
        "\n",
        "-   **Git:** software on your laptop that tracks changes to files\n",
        "-   **GitHub:** website that stores your projects online\n",
        "-   Your laptop does the work; GitHub keeps the backup and shares it\n",
        "\n",
        "# Create Your Account\n",
        "\n",
        "## Sign Up\n",
        "\n",
        "1.  Go to [github.com](https://github.com) and click **Sign up**\n",
        "2.  Enter your email, a password, and a username\n",
        "3.  Verify your email with the code GitHub sends\n",
        "\n",
        "-   **Username tip:** keep it professional (e.g., `jsmith-ds`); it\n",
        "    appears in every link\n",
        "-   **Email tip:** sign up with a personal email so the account outlives\n",
        "    college\n",
        "\n",
        "## Turn On Two-Factor Authentication\n",
        "\n",
        "-   Required by GitHub for anyone who uploads code\n",
        "-   **Settings → Password and authentication → Enable two-factor\n",
        "    authentication**\n",
        "-   Easiest options: an authenticator app or the **GitHub Mobile** app\n",
        "-   **Save your recovery codes** somewhere safe; they are your only way\n",
        "    back in if you lose your phone\n",
        "\n",
        "# Connect Your Laptop\n",
        "\n",
        "## Two Options\n",
        "\n",
        "| Method             | Difficulty              | Recommendation |\n",
        "|--------------------|-------------------------|----------------|\n",
        "| **GitHub Desktop** | Point and click         | **Use this**   |\n",
        "| GitHub CLI (`gh`)  | A few terminal commands | Optional       |\n",
        "\n",
        "-   Both sign you in through your web browser\n",
        "-   GitHub no longer accepts your password from your laptop; these tools\n",
        "    handle sign-in for you\n",
        "\n",
        "## GitHub Desktop (Recommended)\n",
        "\n",
        "1.  Download from [desktop.github.com](https://desktop.github.com) and\n",
        "    install\n",
        "2.  Open it and click **Sign in to GitHub.com**\n",
        "3.  Log in through your browser and click **Authorize**\n",
        "4.  When asked to **Configure Git**, enter your name and your GitHub\n",
        "    email\n",
        "\n",
        "-   That’s it: your laptop is connected\n",
        "\n",
        "## GitHub CLI (Optional)\n",
        "\n",
        "-   Useful if you also run Git from the terminal, RStudio, or VS Code\n",
        "-   Install from [cli.github.com](https://cli.github.com), then run:\n",
        "\n",
        "``` bash\n",
        "gh auth login\n",
        "```\n",
        "\n",
        "-   Choose: **GitHub.com → HTTPS → Yes → Login with a web browser**\n",
        "-   Set your name and email once:\n",
        "\n",
        "``` bash\n",
        "git config --global user.name \"Your Name\"\n",
        "git config --global user.email \"you@example.com\"\n",
        "```\n",
        "\n",
        "## Test It\n",
        "\n",
        "-   In GitHub Desktop: **File → New Repository**, name it `test-repo`,\n",
        "    click **Create**\n",
        "-   Click **Publish repository**\n",
        "-   Check `github.com/your-username`: if `test-repo` is there, syncing\n",
        "    works\n",
        "\n",
        "## FYI: What Is Copilot?\n",
        "\n",
        "-   An AI coding assistant built into GitHub and editors like VS Code\n",
        "-   Suggests code as you type and answers questions in a chat panel\n",
        "-   Students can apply for free benefits at\n",
        "    [education.github.com](https://education.github.com)\n",
        "    -   The student Copilot plan is limited, and availability has\n",
        "        changed during 2026\n",
        "-   Treat its output like advice from a classmate: check it before you\n",
        "    use it\n",
        "-   Follow the course AI policy"
      ],
      "id": "5a7b69b6-2da7-44e3-9e53-46b01b65e1a8"
    }
  ],
  "nbformat": 4,
  "nbformat_minor": 5,
  "metadata": {
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    }
  }
}