I have already fixed all problems what I found in Windows version. So nearly everyting is working now.
Just created a fork on GitHub: https://github.com/yradtsevich/hub-windows

Standalone version can be downloaded here: http://yradtsevich.github.com/hub-windows/hub

Now it does not require GITHUB_USER and GITHUB_PASSWORD to be set anymore. 
At least the following commands may be executed on Windows:
hub fork
hub clone
hub pull-request
hub checkout PULL_REQUEST_URL
hub am PULL_REQUEST_URL


On Fri, Dec 21, 2012 at 7:43 PM, Max Rydahl Andersen <max.andersen@redhat.com> wrote:
do you have a fork on github with your hub changes ?

/max

On 21 Dec 2012, at 15:41, Yahor Radtsevich <yradtsevich@exadel.com> wrote:

> Unfortunately not everything works:
>       • 'hub clone' and 'hub remote add' work without any additional setup.
>       • 'hub fork' and 'hub pull-request' require replacing of 'exec(' to 'system(' calls in the script (there are 4 entries). And the following variables should be set:
>               • export GIT_EDITOR='/D/Progs/Notepad++/notepad++.exe -multiInst '
>               • export GITHUB_USER='yradtsevich'
>               • export GITHUB_PASSWORD='password'
>       • I did not manage yet how to get 'hub am' to work with pull request URLs
>
> On Thu, Dec 20, 2012 at 4:43 PM, Max Rydahl Andersen <max.andersen@redhat.com> wrote:
> does the commands actually work ? i.e. hub pull-request and hub fork  ?
>
> /max
>
> On 14 Dec 2012, at 13:03, Yahor Radtsevich <yradtsevich@exadel.com> wrote:
>
> > Hi all,
> >
> > For those who have problems with installing hub on Windows. I did the following and it works:
> >       • Install Git for Windows
> >       • Install Ruby with RubyInstaller
> >       • Add ruby\bin\ to your system PATH variable
> >       • Download hub standalone (you must save it as "hub", not "standalone") into your git\bin\ folder
> > Now you should be able to use "hub" from Git Bash shell like this:
> > $ hub clone jbosstools/jbosstools-forge
> >
> > --
> > Best Regards,
> > Yahor Radtsevich
> >
> > _______________________________________________
> > jbosstools-dev mailing list
> > jbosstools-dev@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
>
>
>
> --
> Best Regards,
> Yahor Radtsevich




--
Best Regards,
Yahor Radtsevich