Fix for bower's git dependency.
Refactor for some of the command wrapper