Fix github connect code