Clone the Hello SaaS repo
Hello SaaS
This page guides you on cloning down the Hello SaaS tutorial repository. You should follow these steps closely, especially if you’re new to GitHub or BitBucket.
| If you have an existing GitHub account, we recommend just forking the Hello SaaS repo. In this case, after forking the repo, you can move on to the next step by connecting your repo to SaaS. |
Instructions
-
Go to your terminal and run:
git clone https://github.com/magnolia-cms/hello-saas-tutorial.git -
Create a remote repository with your remote Git provider.
Git provider info
Since we’ll be deploying to Netlify, choose between GitHub and Bitbucket Cloud.
New to GitHub or Bitbucket ?
If you have created a new account in GitHub or Bitbucket, you may need to generate an SSH key for your account.
See the following for help:
-
Navigate to the local folder containing your cloned
hello-saas-tutorialrepository. -
Set your
remote originto the remote repository you just created.git remote remove origin (1) git remote add origin <git@github.com:GIT_USER/hello-saas-tutorial.git> (2)1 Removes the cloned origin.2 Adds your new origin.Where do I find the URL?
You can typically find this where you clone down your repository from your Git provider as shown in the GitHub example below.

-
Set your default branch to
main.git branch -m main -
Push everything to your remote Git provider.
git push -u origin main