Skip to content

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

  1. Go to github.com and sign in
  2. Click the + icon → New repository
  3. Give it a name (e.g. my-project)
  4. Set it to Private
  5. Do NOT tick "Add README" — leave it empty
  6. Click Create repository
  7. 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:

  1. git init
  2. git remote add origin https://github.com/yourname/my-project.git
  3. git branch -M main

That's it — one time only per project.

Step 3 — First push

  1. git add .
  2. git commit -m "Initial commit"
  3. 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:

  1. Make your changes in Fewd Studio
  2. Click the Git icon in the left bar
  3. Type a commit message describing what you changed (e.g. "Add hero component styles")
  4. Click Push
  5. Done — changes are saved to GitHub