Allow to query branch for repository
Summary:
This is needed by Hound configuration.
Ref T614
Test Plan: Tested with D2465
Reviewers: dereckson
Reviewed By: dereckson
Maniphest Tasks: T614
Differential Revision: https://devcentral.nasqueron.org/D2466