git-flow is a bunch of Git extensions that makes version control extremely easy. Below is a concise procedure to install it on Windows platform.
1. Download getopt.exe from util-linux package, download the bin file only, as highlighted below:
2. Copy this file to “C:\Program Files (x86)\Git\bin” if you use x64 OS, or
“C:\Program Files\Git\bin” if you run x86 OS.
3. Clone the git-flow sources from GitHub
$ git clone –recursive git://github.com/nvie/gitflow.git
$ cd gitflow
4. Run the below cmd in windows command window
msysgit-install.cmd "C:\Program Files (x86)\Git"
Now run “git flow” in git bash, success!