Support fetching from an upstream main git branch am: c0d933345f am: 797a4508bf am: 79148026df

Original change: https://android-review.googlesource.com/c/platform/tools/external_updater/+/1705651

Change-Id: I632260b7cb7b5fdcf5c2fd6655ec2c9ef378a2de