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)
Merge branch 'patch-3' of https://github.com/leopoiroux/pomander into leopoiroux-patch-3
added some tests for branch and revision.