Install-Software "Git"
Install the version control system "Git" on Windows.
Introduction
Install the version control system “Git ” on Windows OS using the package management system “WinGet .”
Prerequisites
- ✓ Installation of WinGet
- ✓ The verified environment is here
Installation
Introduce how to install “Git” using the package management tool “WinGet .” Start Command Prompt or PowerShell:
- START MENU → Type
cmd
orpowershell
- ENTER
and Check the latest version:
winget search Git.Git --exact
Name ID Version Source
--------------------------------
Git Git.Git 2.48.1 winget
Install Git by specifying the ID
and Source
as follows:
winget install --id Git.Git --source winget --exact
Verification
Close and reopen Command Prompt or PowerShell. The installation is complete if the version information is output with the following command:
git --version
git version 2.47.1.windows.1
Initial Settings
git config --global user.name "<type your user name>"
git config --global user.email "<type your email address>"
git config --global gui.encoding UTF-8
Terms
- Git
-
Git is a distributed version control system (DVCS). By using Git, software developers can efficiently manage script versions and obtain publicly available software. This site primarily uses Git for obtaining the author’s custom scripts.
- The difference between “Git ” and “GitHub ”
-
Git: A distributed version control system. A tool that can manage the revision history of source code.
- GitHub: A web platform based on Git. A web service that provides repository hosting, collaboration, code review, issue tracking, and other features.