In this video, I show you how to install and configure Git on Linux and connect it to your GitHub account using secure SSH keys. We will cover installation, global config, generating keys, and your first push/revert commands.
Make your Linux look like mine: check out my KDE Plasma customization guide here: in progress...
check out my Console setup guide here: in progress...
🚀 Commands used in this video:
1. Install Git:
Fedora: sudo dnf install git
Debian/Ubuntu/Mint: sudo apt install git
Arch Linux: sudo pacman -Syu git
Check version: git --version
2. Configure User:
git config --global user.email "your_email@example.com"
git config --global user.name "YourUsername"
3. Generate & Add SSH Key:
Generate key: ssh-keygen -t ed25519 -C "your_email@example.com"
Start agent: eval "$(ssh-agent -s)"
Add key: ssh-add ~/.ssh/id_ed25519
Show key to copy: cat ~/.ssh/id_ed25519.pub
4. Basic Git Commands:
Clone repo: git clone git@github.com:User/Repo.git
Add changes: git add .
Commit: git commit -m "My first commit"
Push to GitHub: git push
Undo last commit: git revert HEAD
Timestamps:
0:00 - Intro
0:19 - Installing Git
0:40 - Global Configuration
1:27 - Generating SSH Keys
1:49 - Adding Key to GitHub
2:11 - Testing: Clone, Commit & Push
3:09 - Reverting Changes
3:19 - Outro
#linux #git #github #programming #tutorial #barrydev #ssh
On this page of the site you can watch the video online How to Setup GIT & GitHub on LINUX (SSH Key Configuration) - 2026 Guide with a duration of hours minute second in good quality, which was uploaded by the user Barry Dev 25 January 2026, share the link with friends and acquaintances, this video has already been watched 92 times on youtube and it was liked by 5 viewers. Enjoy your viewing!