For installing the git in Linux mint

1. $ sudo apt install ppa-purge

 

2. $ sudo ppa-purge ppa:git-core/ppa

 

3. $ sudo apt purge git

 

4. $ sudo apt install git

 

Configuring the git

1. for username, email, and other config.

    $ git config --global user.name "nabim777"

    $ git config --global user.email “nabinalemagar019@gmail.com

to view the listing of config

    $ git config –list

2. go to the home directory like (you can skip)

    $ pwd 

finding the .gitconfig

     $ ls -all

open that .gitconfig files

$ xdg-open .gitconfig


Notes: yo  page options ho hai skip gardim…

pahila arko page try gardim la error ayo vani balla yo haii
  I have done this and started

a. $ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev asciidoc xmlto docbook2x

b, $ git clone https://git.kernel.org/pub/scm/git/git.git

keys Generation (Linux Ubuntu):

Step 1: Generate new SSH keys

Copy and paste in command:

$ ssh-keygen -t ed25519 -C "your_email@example.com"

Then press Enter enter


Step 2: Add a new ssh keys   

$ cat ~/.ssh/id_ed25519.pub

output:

ssh-ed25519 NAAAC3NzaC1lZDI1NTE5AAAAIF9hTXUaTQppZ2i9CirYIsN4/FAXR6t7EjPRyyNVIdgj nabinalemagara@gmail.com


Step3:

Copy and paste that output like this


Copy and paste that output like in figure: setting>SSH and GPG keys



Step 4: Click on “Add SSH key”

Then the following will be appeared