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
Nesta página do site você pode assistir ao vídeo on-line How to Setup GIT & GitHub on LINUX (SSH Key Configuration) - 2026 Guide duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Barry Dev 25 Janeiro 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 92 vezes e gostou 5 espectadores. Boa visualização!