Enabling git in Windows 10 command line Enabling git in Windows 10 command line powershell powershell

Enabling git in Windows 10 command line


Simply uncompress the latest git for windows release portable archive (like PortableGit-2.7.2-64-bit.7z.exe) anywhere you want and add to your PATH:

 c:\path\to\git;c:\path\to\git\bin;c:\path\to\git\usr\bin;c:\path\to\git\mingw64\bin

You will get git-bash.exe (recent 4.3+ bash based on msys2), but also 200+ unix commands right in your regular CMD shell.