Dear sir,
I try to develop a module for switch device. and test it finished. how can I share my module to the github ?
Have you read this ?
https://docs.ansible.com/ansible/community.html#for-current-and-prospective-developers
That page have a section dedicated to contributing code and will be a good start.
It also contain information about the developer mailing list, I recommend using that mail list for development questions.