Git Sync Plugin Configuration
3.1 Tap the "Setup Git Sync Plugin" link
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap-the--setup-git-sync-plugin--link.png)
3.2 Tap the "Next" button
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap-the--next--button.png)
3.3 Choose the Git service and enter your username and password for it
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/choose-the-git-service-and-enter-your-username-and-password-for-it.png)
3.4 Scroll down (if needed) and Tap the "Next" button
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/scroll-down--if-needed--and-tap-the--next--button.png)
3.5 Before continuing, you will need to create a repository on your Git service.
If you have already created a Git repository (with at least one commit, for example a ReadMe file) you may skip to step 3.10
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/before-continuing--you-will-need-to-create-a-repository-on-your-git-service.png)
3.6 Create a new repository in your chosen Git service (GitHub example shown)
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/create-a-new-repository-in-your-chosen-git-service--github-example-shown-.png)
With GitHub's recent change of repository default branches being named 'main' instead of 'master' the following work-around is needed until GitHub also addresses automatic default branch re-routing:
- Once you have created your new repo, create a new branch called 'Master'
- Set the default branch of the repo to this newly created 'Master' branch
3.7 Enter repository name
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/enter-repository-name.png)
3.8 Choose to include a ReadMe file
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/choose-to-include-a-readme-file.png)
3.9 Create the new repository
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/create-the-new-repository.png)
3.10 Copy the HTTPS URL of the repository to your clipboard
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/copy-the-https-url-of-the-repository-to-your-clipboard.png)
3.11 Paste the Git repository HTTPS URL into the "Git Repository" field and tap "Test Connection"
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/paste-the-git-repository-https-url-into-the--git-repository--field-and-tap--test-connection-.png)
3.12 Tap the "Next" button
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap-the--next--button-1.png)
3.13 Select the displayed Webhook URL and copy it to your clipboard
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/select-the-displayed-webhook-url-and-copy-it-to-your-clipboard.png)
3.14 Add the Webhook to your Git repository settings, in GitHub tap "Settings"eu-grav-skeleton-learn2-with-git-sync-site
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/add-the-webhook-to-your-git-repository-settings--in-github-tap--settings-eu-grav-skeleton-learn2-wit.png)
3.15 Tap "Webhooks"
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap--webhooks-.png)
3.16 Tap "Add Webhook"
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap--add-webhook-.png)
3.17 Paste the copied Learn2 with Git Sync Webhook URL into the "Payload URL" field
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/paste-the-copied-learn2-with-git-sync-webhook-url-into-the--payload-url--field.png)
3.18 Scroll down, and tap "Webhook"
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/scroll-down--and-tap--webhook-.png)
3.19 Once the new Webhook is displayed, return to your Learn2 with Git Sync site
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/once-the-new-webhook-is-displayed--return-to-your-learn2-with-git-sync-site.png)
3.20 Tap the "Next" button
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap-the--next--button-2.png)
3.21 Tap the "Save" button
Note: you can also choose to sync other user folders here, and as well in the plugin configuration panel
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap-the--save--button.png)
3.22 Tap the arrow-square button to once again preview the site
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/tap-the-arrow-square-button-to-once-again-preview-the-site.png)
3.23 To test your Git Sync configuration, tap on the "Edit this Page" link
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/to-test-your-git-sync-configuration--tap-on-the--edit-this-page--link.png)
3.24 The current site page should now be displayed in GitHub
![](/user/pages/images/grav-learn2-with-git-sync-2---install-and-configure-on-reclaim-hosting/the-current-site-page-should-now-be-displayed-in-github.png)