Clean up computation of upstream branch and origin.
Review Request #10089 — Created July 16, 2018 and submitted
The git client in RBTools had a bunch of crufty code to determine the
name of the remote branch and the origin URL/remote name. This change
cleans those up to be simpler and more consistent.
self._upstream_branchattribute still isn't used for the tracking
branch--that will come in the next change.
- Posted some changes.
- Ran unit tests.