Pull or push your code repositories directly from Github.
Screenshot-1: Go to the Github Add-on Tab under the WP File Manager tab on the left side wordpress panel as shown in the screenshot
Screenshot-2: Enter your Github credentials and git repository name
Screenshot-3: Pull and Push to Git
Screenshot-4: Pull full website to your git repository