I don't like this name... maybe `public static string BranchToRef(string branchName)`? or `ExpandBranchName`?