Exporting your GitBook content to a GitHub repository is super simple:
If not already, the owner's account of the book you would like to export must be configured to use our GitHub integration. See this article for a detailed explanation of how to setup your account with GitHub.
Go to the GitHub section of your book's settings and select the GitHub repository to link this book to and confirm by clicking on the Sync button.
From now on, every update made to your book will be automatically reflected on the selected GitHub repository.