Improve open github script to read git config