Add g function and completion for github directory