Use github api to do tree load