Browse docs
Start Here

Get the Code

Accept the GitHub invite, clone the private repo, and set yourself up to receive updates later.

Updated Aug 2026
On this page

After you buy, you get an invitation to a private GitHub repository. This page gets that code onto your machine in a way that lets you pull improvements later.

1. Accept the invite

Check the email address you used at checkout for a GitHub invitation, or go to https://github.com/notifications while signed in to the GitHub account you want access on.

The invite goes to your GitHub account, not your email

If you bought with one email and use GitHub under another, the invite will look like it never arrived. Reply to the purchase email with your GitHub username and it will be re-sent.

2. Clone it

Pick a folder name that is your app, not the template's:

git clone https://github.com/hassancs91/electron-starter-template.git my-app
cd my-app

Measured on a fresh clone: 4.7 seconds.

The default branch is master. If a command in any documentation says main, it means master here.

3. Point origin at your own repo

Right now origin is the template. You want origin to be your project, with the template kept as a second remote you can pull from.

Create an empty private repo on GitHub, then:

git remote rename origin template
git remote add origin https://github.com/YOUR-USER/my-app.git
git push -u origin master

Now git push sends your work to your repo, and the template stays reachable.

4. Pulling template updates later

When a new version of the template ships:

git fetch template
git merge template/master

Conflicts land where you edited the same lines the template did. docs/updating.md inside the repo covers the conflict cases in detail, including how to keep your own screens while taking a security fix.

Do this on day one, not on day ninety

Adding the template remote costs one command now. Reconstructing the relationship after six months of divergence costs an afternoon.

Claude CodeAsk your AI assistant

I cloned this Electron template into my-app and want origin to be my own private GitHub repo while keeping the template as a second remote called template. Show me the exact commands, and explain what git merge template/master will do to my changes later.

Next: Run It on Your Computer.

Give your agent a codebase with opinions.

Electron 41 + React 19 + TypeScript desktop app boilerplate built for Claude Code, Cursor and Copilot. 950 lines of rules your agent reads first, so feature fifty looks like feature one.

Get it for $49 →