Integrating workbench with Github ensures that all customization are backed up in your official source code repositories in at github.com
Various features like peer-review, private branches and pull-requests are supported out of the box.
The Github integration is also supported when the workbench is deployed into more than one environments where is the deployment takes place in stages all the way from development to the production.
The first step is to provision and connect GitHub with the workbench. Let's name your application as "MyApplication". Then you will be ready to provide the client identity and client secret from the Github.
First login into your Github account and click on settings.
Click on the developer settings as shown below
Proceed to creating a new OAuth application
On this page which is the application using the URL of your workbench. Use the workbench URL at two places as shown below.
Next generate the client secret as shown below.
Now you have client ID and secret so go ahead and provide these two values on the workbench.
Connect with Github now.
Proceed to authorize the application as shown below.
Now the workbench page would look like as shown below.
When you are ready to push, then provide comments and push to your branch.
Alternatively you can push through your branch create a pull request and merge the pull request into the master branch.
Check your task history at the end of the operation the logs will be shown highlighting the details of this operation.
Lets check out the github. Just click on "Browse on Github"