fixed error with not branch in some terminals

in some cases and terminals checkouting certain commit will issue error of non implicit byte-string conversion
explicit decoding fixes this problem