'Start an interactive rebase session
:param upstream: upstream branch
:param branch: optional branch to checkout
:param capture_output: whether to capture stdout and stderr
:param kwargs: forwarded directly to `git.rebase()`'

def __init__(self, upstream=None, branch=None, capture_output=True, **kwargs):

    Command.__init__(self)
    self.upstream = upstream
    self.branch = branch
    self.capture_output = capture_output
    self.kwargs = kwargs
