 <p>Simply uncompress the archive <a href="https://github.com/git-for-windows/git/releases/download/v2.6.4.windows.1/PortableGit-2.6.4-64-bit.7z.exe" rel="nofollow"><code>PortableGit-2.6.4-64-bit.7z.exe</code></a> anywhere you want.</p> <p>Then open <code>C:\path\to\PortableGit-2.6.4-64-bit\git-bash.exe</code>: you won't see that error message.</p>