Fixed git parsing on command shell