Use github api to check revisions