I will show you how I use Git in PowerShell.

First, we need to install chocolatey, this will allow us to install traditional Git into PowerShell.

Set-ExecutionPolicy Bypass -Scope Process -Force; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

Now we can install Git.

choco install git poshgit





git config --global user.name "account"
git config --global user.email "[email protected]"
Done!