I was working mostly on Mac, so I have no idea about how to set up git environment on Windows 8.
Today, I was going to start AngularJS on my Windows Machine. On tutorial, I saw it requires git, and I downloaded the "Git for windows", called "MINGW64".
On tutorial, it asked me to use command:
apt-get install nodejs-legacy npm
bash: apt-get: command not found
And Git for Windows is a only to run
git, it's a separate project from Node.js, and it features a set of native tools, rather than an emulation layer like Cygwin.
If you setup
PATH setup correctly, you can indeed run node commands in the Bash shell of Git for Windows.