ANS Documentation

Improve This Doc
  • Cloud
  • Domains and DNS management
  • Backup and High Availability
  • eCommerce Stacks
  • Security
  • Email
  • Monitoring and usage management
  • Networking
  • Operating systems
    • Linux
      • Basics
      • Apache
      • Control Panels
      • FTP
      • Magento
      • Miscellaneous
      • MySQL
      • NGINX
      • PHP
      • PHP-FPM
      • Setting up Websites
      • NFS
      • VPN
      • Percona
      • SSH
      • SSL
      • Git
      • Redis
      • Elasticsearch
      • MongoDB
      • Ncdu
    • VMware ESXi
    • Windows
  • Webcelerator
  • MyUKFast
  • Home >
  • Operating systems >
  • Linux >
  • Git >
  • Installing Git

Installing Git¶

Linux¶

CentOS/RHEL¶

sudo yum install git

Configure your Git username and email using the following commands:

git config --global user.name "Support"
git config --global user.email [email protected]

Debian/Ubuntu¶

sudo apt-get install git

Configure your Git username and email using the following commands:

git config --global user.name "Support"
git config --global user.email [email protected]

Windows¶

  1. Download the latest installer for Windows: https://git-for-windows.github.io/

  2. Complete the Git setup wizard (Defaults are sensible for non-specific use cases)

Using the command prompt, configure your Git username and email using the following commands:

git config --global user.name "Support"
git config --global user.email [email protected]

macOS¶

Homebrew¶

brew install git

Configure your Git username and email using the following commands:

git config --global user.name "Support"
git config --global user.email [email protected]

Mac installer¶

  1. Download the latest installer for Mac here: https://sourceforge.net/projects/git-osx-installer/files/

  2. Install Git using the prompt that are suggested

Using the terminal, configure your Git username and email using the following commands:

git config --global user.name "Support"
git config --global user.email [email protected]

Next Article > Redis

  • Useful Links
  • SMB
  • Enterprise
  • Channel
  • Public Sector
  • ANS Data Centres
  • About ANS
  • Careers
  • Blog
  • Get in touch
  •  
  • Sales 0800 458 4545
  • Support 0800 230 0032
  • Get in touch

© ANS Group Limited | Terms and Conditions | Corporate Guidance | Sitemap
ANS Group Limited, registered in England and Wales, company registration number 03176761, registered office 1 Archway, Birley Fields, Manchester M15 5QJ