All About Git & Git-Hub: Beginner's guide on relationship between git& git-hub, installation, linking both tools to launching.

Published: (January 18, 2026 at 05:50 PM EST)
2 min read
Source: Dev.to

Source: Dev.to

Introduction: Understanding Git and GitHub

Git is a popular version‑control system used to track code changes, facilitate collaboration among developers, and record who made each change.

GitHub is a proprietary platform that hosts Git repositories. It adds features such as access control, issue tracking, feature requests, task management, continuous integration, and wikis for every project.

Step 1: Opening a GitHub Account

Create a free account on GitHub:

https://github.com/

Step 2: Downloading Git Bash and Launching It

Download the latest Git for Windows (which includes Git Bash) from the official site:

https://git-scm.com/install/

After installation, launch Git Bash and verify the version:

Git Bash version screen

Step 3: Git Configuration – Set Identity

Configure Git with the same username and email you used for your GitHub account:

Git configuration screen

Typical commands (run in Git Bash):

git config --global user.name "Your GitHub Username"
git config --global user.email "you@example.com"

Step 4: Confirm the Configured Identity

Verify that Git has stored the correct information:

Git identity verification

git config --list

Note: Ensure the email matches the one you used to sign up for GitHub.

Step 5: Generating an SSH Key – Connecting Git to GitHub

An SSH key authenticates your machine with GitHub, allowing secure communication without repeatedly entering passwords.

Generate a new SSH key (if you don’t already have one) and add it to the ssh‑agent:

ssh-keygen -t ed25519 -C "you@example.com"
# Follow the prompts; press Enter to accept the default file location.
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

The generated public key will look similar to the one shown below:

SSH key generation output

Step 6: Add the SSH Key to GitHub

  1. Copy the contents of your public key file (~/.ssh/id_ed25519.pub).
  2. In GitHub, go to Settings → SSH and GPG keys → New SSH key.
  3. Paste the key, give it a recognizable title, and save.

GitHub will send a confirmation email once the key is added.

Adding SSH key in GitHub settings

Step 7: Open a Project Folder on GitHub

Now you can clone an existing repository or create a new one, then work with it locally using Git Bash. For example, to clone a repository:

git clone git@github.com:YourUsername/your-repo.git

You’re all set to start tracking changes, pushing commits, and collaborating through GitHub!

Back to Blog

Related posts

Read more »

Getting started with Git and GitHub.

Exploring new learning curves and opportunities isn’t something I thought I would ever do in 2026. In this post I share the lessons I learned during the first w...