redesign github service code
fix github service