Fix github provider fetch method.

Several return statements were missing.
updated doc capi.txt