config: support github repo

Signed-off-by: Junwei Zhang <junwei.zhang@6wind.com>