auth: check `github init` firstly

This will improve UX and reduce the users' confusion