Rev-parse: "ref@{upstream}" syntax. Added tracking configuration to the test repo's config to support unit tests.