IT and security stuff

Install Git in PowerShell

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 -UseBasicParsing | iex
Choco is installed!

Now we can install Git.

choco install git poshgit
Now, Git is installed. Close and reopen PowerShell.
You can configure your account using these commands :
git config --global "account"
git config --global "[email protected]"


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.