Discourse deployment using github or bitbucket?

No. If you would like to run discourse, and get help here, you need to make your modifications by creating plugins.

There are several topics about how to create them.