# How to Install Git on Windows (Step by Step)

DevFeed: [How to Install Git on Windows (Step by Step)](<https://devfeed.tech/articles/how-to-install-git-on-windows-step-by-step-122037.md>)

Original publisher: [Read original article](<https://markodenic.com/install-git-on-windows/>)

Author: Marko

Published: 2026-11-07T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [configure](<https://devfeed.tech/tags/configure.md>), [email](<https://devfeed.tech/tags/email.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [installer](<https://devfeed.tech/tags/installer.md>), [setup](<https://devfeed.tech/tags/setup.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [windows](<https://devfeed.tech/tags/windows.md>), [winget](<https://devfeed.tech/tags/winget.md>)

## AI overview

Install Git on Windows 10 or 11 with `winget install --id Git.Git -e --source winget`, then reopen the terminal and check `git --version`. The official installer is an alternative; key options include adding Git to PATH, keeping Git Credential Manager, and choosing an editor and `main` as the initial branch. After installation, configure your commit name and email. HTTPS works with Git Credential Manager; SSH is optional and requires creating a key and adding its public key to GitHub. Git works in PowerShell, Command Prompt, and Git Bash. Update it with `git update-git-for-windows` or `winget upgrade --id Git.Git`. For development inside WSL, the text recommends installing Git within WSL and keeping projects in its Linux file system.

## Source excerpt

Install Git on Windows with winget or the installer, pick the right setup options, configure your name and email, connect to GitHub with SSH, and keep Git up to date.