Fetch repo and branch info from rpc