Get to GitHub·Beginner

Cursor → GitHub

Push your Cursor project to GitHub so FinishKit can scan it.

Cursor is a local code editor. Your project files are on your machine. To push them to GitHub, you'll use Git from the terminal inside Cursor.

Prerequisites

  • Git installed: run git --version in terminal. If not installed, download from git-scm.com.
  • A GitHub account

Step 1: Create a new repo on GitHub

Go to github.com/new. Give it a name, set it to Private (recommended), and click Create repository. Don't initialise with a README.

Step 2: Open the terminal in Cursor

Press Ctrl+` (or Cmd+` on Mac) to open the integrated terminal.

Step 3: Initialise Git in your project

git init
git add .
git commit -m "Initial commit"

Step 4: Connect to your GitHub repo

Copy the remote URL from GitHub. It will look like https://github.com/yourusername/your-repo.git. Then run:

git remote add origin https://github.com/yourusername/your-repo.git
git branch -M main
git push -u origin main

Step 5: Verify

Go to github.com/yourusername/your-repo. You should see all your files.

Before committing, check that you don't have a .env file with secrets included. Add .env to your .gitignore file first.

Next step

Connect your repo to FinishKit →