'Wraps git commands.
:param cmd: Command to be executed.
:param ignore_status: Whether we should suppress error.CmdError
exceptions if the command did return exit code !=0 (True), or
not suppress them (False).'

def git_cmd(self, cmd, ignore_status=False):

    os.chdir(self.destination_dir)
    return utils.run(('%s    %s' % (self.cmd, utils.sh_escape(cmd))), ignore_status=ignore_status)
