Updated on 2023-07-25 GMT+08:00

Installing Git for Linux

  • For Debian or Ubuntu
    Run the following command in the terminal:
    apt-get install git
  • For Fedora, CentOS, or Red Hat
    Run the following command in the terminal:
    yum install git
  • For more OSs, see the Git official website.