# First time? Run setup to install git & GitHub CLI
ghk setup
# Start tracking your project
cd my-project
ghk init
# Create repository on GitHub
ghk create
# Save your changes
ghk push
All Commands
Core Commands
Command
Alias
Description
Runs...
ghk setup
Check and install git, GitHub CLI. Shows versions and connection status.
(Checks requirements)
ghk init
Start tracking this folder. Creates .git folder.
git init
ghk create
Create a new repository on GitHub. Prompts for name and visibility.
gh repo create
ghk push
save
Save changes to GitHub. Prompts for a message describing your changes.
git add -A && ...
ghk pull
sync
Download changes from GitHub to your computer.
git pull
ghk clone <repo>
download
Download a repository. Use owner/repo or full URL.
gh repo clone
View & Info Commands
Command
Alias
Description
ghk status
Show current status: branch, remote, unsaved changes, login status.
git status
ghk diff
Preview changes before saving. Shows what files changed.
git diff
ghk history [n]
log
Show recent saves. Default: 10 commits.
git log
ghk open
Open repository in your web browser.
gh browse
Undo & Branches
Command
Alias
Description
ghk undo
Undo last commit. Your changes are kept, just uncommitted.