add method to lookup default branch name for remotes