the Institute of Imagination Systems guide
iOi · Systems guide

GitHub

How we keep our work safe, versioned, and off a single laptop — using git, GitHub, and Claude Code to do the heavy lifting.

1 Overview

Git and GitHub are two halves of one idea: never lose your work, and always be able to go back.

Two words you'll use constantly:

The golden rule: work only counts once it's committed and pushed. A file in a folder is one disk failure away from gone; a file pushed to GitHub is safe.

2 One-time setup

You do this once per computer. The tool that runs the commands for you is Claude Code — you tell it what you want in plain English.

Install Claude Code

In Terminal:

curl -fsSL https://claude.ai/install.sh | bash

Then open a new Terminal window and check it worked:

claude --version
"command not found"? The installer put claude in ~/.local/bin, which your shell may not look in yet. Fix it once, then open a new window:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
This same line also makes the GitHub tool gh work, since it lives in the same place.

Claude Code needs a paid Claude plan — the same account you use for Cowork.

First commit — save a version locally

Go to your project folder and start Claude Code:

cd ~/Documents/Claude
claude

The first run asks you to pick a theme and sign in (a browser opens — approve it). Then tell it:

"Commit everything in this folder to git with a sensible message."

Now you have version history on your machine.

Connect to GitHub and push

Still in Claude Code, tell it:

"Create a new private GitHub repo called ioi-workspace under my account and push everything to it. If the GitHub CLI isn't set up, install it and run gh auth login."

The only step it can't do for you is the GitHub sign-in, because that's GitHub's own security:

  1. Claude Code runs gh auth login and shows a one-time code (e.g. BBAD-FC99).
  2. It opens github.com/login/device in your browser.
  3. Enter the code, authorise, and return to Terminal.

After that it creates the repo and pushes. Your work is now private, versioned, and safely on GitHub.

3 Everyday workflow

Once set up, keeping GitHub current is one sentence. After you've made changes, open Claude Code in the folder and say:

"Commit everything and push it to GitHub."

That's the whole loop: change your files → tell Claude Code to commit and push. It writes the message, saves the version, and sends it up.

If you ever want to do it by hand, it's three lines:

git add -A
git commit -m "what I changed"
git push

Rule of thumb: commit little and often — end of a task, before a big change, before lunch. Each commit is a point you can safely return to.

4 Good habits

5 Troubleshooting