All About Git & Git-Hub: Beginner's guide on relationship between git& git-hub, installation, linking both tools to launching.
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:
Step 2: Downloading Git Bash and Launching It
Download the latest Git for Windows (which includes Git Bash) from the official site:
After installation, launch Git Bash and verify the version:

Step 3: Git Configuration – Set Identity
Configure Git with the same username and email you used for your GitHub account:

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 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:

Step 6: Add the SSH Key to GitHub
- Copy the contents of your public key file (
~/.ssh/id_ed25519.pub). - In GitHub, go to Settings → SSH and GPG keys → New SSH key.
- Paste the key, give it a recognizable title, and save.
GitHub will send a confirmation email once the key is added.

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!