...
ExcerptYou may want to higher version of Git if you use Visual Studio Code (a.k.a. vscode) - its version will be Git 2.x probably. In that case, you can install by WANDisco repo package easily.
STEP 1. Install WANDisco repo package Code Blockyum -y install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
You can try below if above does not work
Code Blockyum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1 .7-1.x86_64. rpm
STEP 2. Install the latest version of Git 2.x: Code Blockyum -y install git
STEP 3. Verify the version of Git that was installed:
STEP 4. Set git commit username and email address type Code Blockgit config --global user.name "Your Name"
git config --global user.email "youremail@yourdomain.com"
To verify the changes:
Code Blockgit config --list
Output:
Code Blockuser.name=Your name
user.email=youremail@yourdomain.com
The configuration settings are stored in the ~/.gitconfig file
As of 17 Apr 2020 , I was able to see its version 2.22.0 for your information.