In general when is one branch the upstream of another one?
git-rebase - Forward-port local commits to the updated upstream head
git rebase [-i | --interactive] [options] [--exec <cmd>] [--onto <newbase>] [<upstream>] [<branch>]
In the following the master is the upstream branch. But why is master upstream, what is the precise definition?
A---B---C topic
/
D---E---F---G master