Install Git
Git must be installed before you can create or clone repositories.
Download and run the installer from git-scm.com. The default options are suitable for most users.
Verify the installation in PowerShell or Command Prompt:
Install Git using your distribution's package manager:
Verify the installation:
Next step
Configure your author identity before creating commits: git config --global user.name and git config --global user.email.