Implement GetDefaultBranch in localrepo attempt 2
This logic is required in a few different places and currently lives within the refs service code. To allow better code sharing the ref service code has been extracted.
This logic is required in a few different places and currently lives within the refs service code. To allow better code sharing the ref service code has been extracted.