def get_upstream_for_active_branch(self):
        return self.git("rev-parse", "--abbrev-ref", "--symbolic-full-name",
                        "@{u}", throw_on_stderr=False).strip()
Return ref for remote tracking branch.
dataset/ETHPy150Open divmain/GitSavvy/core/git_mixins/remotes.py/RemotesMixin.get_upstream_for_active_branch