GIT $env->branch() don't work

Today this method does not work and I added the ability to update submodules. Just add $env->submodule(true/false)

I also changed the log in the revision method