How to set up Git Hub
Git Push Button
FEWD Studio comes with an easy to use “Git Push” button. This allows you to simply hit the button, add a note and Push To Git.
Your project is then backed up in just a couple of clicks.
What Git is
Git is version control — it tracks every change you make to your files.
Think of it as a save history where you can go back to any previous version. GitHub is where you store that history online, so it's backed up and accessible anywhere.
The one-time setup for a new project:
Step 1 — Create a repository on GitHub
Go to github.com and sign in
Click the + icon → New repository
Give it a name (e.g. my-project)
Set it to Private
Do NOT tick "Add README" — leave it empty
Click Create repository
Copy the URL shown — looks like https://github.com/yourname/my-project.git
Step 2 — Initialise git in your project folder
Open a terminal — either in VS Code, or in Fewd Studio's terminal panel, if you have the Premium version.
Navigate to your project folder:
cd ~/Documents/Projects/MyProject
Then run:
git init
git remote add origin https://github.com/yourname/my-project.git
git branch -M main
That's it — one time only per project.
Step 3 — First push
git add .
git commit -m "Initial commit"
git push -u origin main
The -u origin main is only needed on the very first push. After that, FewdLab's Push button handles everything.
After that — using Fewd Studio's Git Push button:
Make your changes in Fewd Studio
Click the Git icon in the left bar
Type a commit message describing what you changed (e.g. "Add hero component styles")
Click Push
Done — changes are saved to GitHub