← Back to docs

GitHub Setup

Why GitHub Matters

Git tracks every change to your code. GitHub stores that history in the cloud. Together they give you:

You don't need to learn git commands. Your AI coding agent handles that. You just need an account and a connection.

One-Time Setup

1. Create a GitHub Account

Go to github.com and sign up. Free accounts include unlimited private repositories.

Already comfortable with GitHub?

Steps 2 and 3 are optional. If you prefer to create and manage repositories yourself through the GitHub website, skip the CLI install entirely. Just create your repo on github.com, clone it locally, and point your AI agent at the folder. It can still commit and push code for you — it just won't create the repo itself.

2. (Optional) Install the GitHub CLI

The GitHub CLI (gh) lets your AI agent create repos and push code on your behalf.

There's no pop-up confirming the install succeeded. To verify, open a terminal and run gh --version — if it prints a version number, you're set.

3. (Optional) Log In

Run this in your terminal:

gh auth login

It will ask a few questions:

Then it opens your browser to complete sign-in. You only need to do this once.

That's It

From here, your AI agent can handle the rest. When you start a new project, just ask it:

"Create a private GitHub repo called my-project and push my code."

It will initialize git, create the repo, and push — no git knowledge required.