How to run a Git command using a PowerShell script

git, powershell

Solution

Install Git for Windows, and make sure to put Git/bin folder in your Windows path variable.

Here is a good link to make your experience of Git and PowerShell better:

Make PowerShell, SSH GitHub and Git suck less on Windows

Problem

How do I execute a Git command through a PowerShell script?

Original source

Related problems