Install latest Git

Learn how to install latest Git

Learn how to install latest Git

More Information

  1. Install stable Git version

    sudo add-apt-repository ppa:git-core/ppa
    sudo apt-get update
    sudo apt-get install git
  2. Check Git version

    git --version
  3. Optional: Configure Git

    git config --global user.name "Your name"
    git config --global user.email "Your email"
     
    # enable color output
    git config --global color.ui author
     
    # check configuration
    git config --global --list

Written by

KarChunT

At

Wed Mar 26 2025