Skip to content

Instantly share code, notes, and snippets.

@LinuxPlaner
Last active September 29, 2020 17:50
Show Gist options
  • Save LinuxPlaner/2a37a7ec0d078ba3511c4131abdf4395 to your computer and use it in GitHub Desktop.
Save LinuxPlaner/2a37a7ec0d078ba3511c4131abdf4395 to your computer and use it in GitHub Desktop.
Install latest Git using PPA
If you need any help related with Git+GitHub+GitLab contact with me:
Telegram:@LinuxPlaner
Email: [email protected]
Skype: https://join.skype.com/YsiueF0XCKLX
WhatsApp: +8801729848319
=====================================================================================================
#!/bin/bash
# Part 1
# To Install latest Git using PPA run this command:
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
# To check Git version run this command:
git --version
# To Configure Git run this command:
sudo git config --global user.name "TypeYourName"
sudo git config --global user.email "TypeYourEmail"
# To check Git configuration settings run this command:
git config --list
# Part 2
# Checking for existing SSH keys
ls -al ~/.ssh
# Testing your SSH connection
ssh -T [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment