Add pull api option to get from github