Standalone guide

How to Create and Configure GitHub Account

Learn how to create a GitHub account, set up a repository for your website, and configure it for deployment.

GitHubGitGitHub CopilotSSH Keys

1. Download git

  • What is Git? - Git is a distributed version control system that allows developers to track changes in their code, collaborate with others, and manage different versions of their projects. It is widely used in software development and is the underlying technology behind platforms like GitHub.
  • Steps to download and install Git
    1. For Windows: Download Git and run the installer.
    2. For macOS: Open terminal and run command: brew install git
    3. For Linux: Open terminal and run command: sudo apt-get install git git-extras
    4. Verification: After installation, open terminal and run command: git --version to verify that Git is installed correctly. You should see the installed version of Git displayed in the terminal.

2. Sign up and configure a GitHub Account

  • What is GitHub? - GitHub is a web-based platform that uses Git for version control. It allows developers to host and manage their code repositories, collaborate with others, and deploy websites and applications.
  • Create a GitHub account
    1. Go to GitHub Signup Page.
    2. Click Continue with Google or fill out the form with your email address, password, and username.
    3. Verify your email address by clicking on the link sent to your inbox.
    Configure Git with your GitHub account
    1. Set your GitHub username and email in Git. Open your terminal and run the following commands: git config --global user.name "Your Name" git config --global user.email "[email protected]"
    Enable ssh key for authentication
    1. Open your terminal and generate an SSH key pair using the command: ssh-keygen -t ed25519 -C "[email protected]" # Press Enter until the key is generated
    2. Copy the public key to your clipboard: cat ~/.ssh/id_ed25519.pub # Or open the file in a text editor
    3. Go to your GitHub => Settings and navigate to the SSH and GPG keys section.
    4. Click on New SSH key and paste the public key you copied earlier.
    Enable GitHub Copilot
    1. Open VS-Code and click on robot like icon on bottom right corner.
    2. Click on Sign in to GitHub and follow the prompts to authenticate with your GitHub.

3. What's next?

  • Now that you have your GitHub account set up and configured, you can create a new repository to host your website files. This repository will allow you to manage your website's code, track changes, and deploy updates easily. Refer to the guide on How to Create a Personal Website without Coding for detailed steps.