get it working with refspecs.
-removed Branch option, since it's basically useless.
-added refspec, when cloning it'll add the refspec to git config. that means if you add it and the workspace already exists, then it will fail then reclone automatically.
get it working with refspecs.
-removed the github specific code.
updating to newer version of git and jenkins