added support for 'b'(branch) command