This should result with the Create a new book dialog: (Image 2 below). Define your choices in the order suggested by red markers.
Image 2
I also deleted the "Chapter 1" page that is a part of the template selected with the click on item tagged with red marker 1 on the Image 2 above. For this document, a single page is sufficient.
create the new repository in GitHub that should have the same or similar name to your current repository on GitBook, created as the consequence of the action in step 1. Create a new book above.
get the git url of your GitBook book repository which is typically defined as https://git.gitbook.com/MyName/MyBook.git
-clone this book to your machine
push this local clone to the newly created GitHub based repository (with the intent to ovewrite that destination.
2.2 Create the empty repository on Github (new home for your book)
This is the critical step that is not well explained in the existing documentation.
Image 4
Click on Create repository buttom (marker 5, Image 4) results with the new GitHub repo with the URL https://github.com/aurelia-ui-toolkits/GitBook-books-living-in-GitHub
2.3 Clone the original book to the local computer
This is simply done as:
2.4 Push this local book clone to GitHub
Again, using your console, you need to do your equivalent of this
3. Set GitBook editor to manage your new copy in GitHub
Point the browser to https://github.com/aurelia-ui-toolkits/GitBook-books-living-in-GitHub and observe:
Image 5
In order to associate the GitBook web editor with your book stored in GitHub, click on the Settings link (Image 5, marker 1). This will result with
Image 6
Click on the Browse directory icon (Image 6, marker 1) will bring the list of all GitHub integrations. Scroll down until you see the GitBook icon
Image 7
Click on the GitBook icon establishes the needed relationship, where your book is stored in GitHub, can be edited by GitBook web editor and will be hosted (as a web site) at GitBook.