get tree
further checkout options implemented.

Callbacks for progress and notify are not supported yet