A guide for people who don't write code

How to connect Claude Code to your project: on your computer, on GitHub or GitLab

Step by step, with hints on where to click. If "repository" is a new word for you, this page is written for you

Claude app: 10 minutes GitHub in the browser: 10 minutes GitLab: 20–30 minutes
Three words first

What we are actually doing

Repository

The folder of your project, kept online on GitHub or GitLab. It holds the files of your website, bot or documents, plus the full history of every change

Claude Code

An assistant that opens this folder, reads the files and edits them when you ask. You ask in plain words, the way you would ask a colleague

Connect

Give Claude a key to this one folder. It gets no access to your other projects unless you give it yourself

Before you start

What you need

  • A paid Claude planPro, Max or a company plan (Team, Enterprise). Claude Code is not part of the free plan. You can subscribe at claude.ai
  • A GitHub or GitLab login, if your project lives thereYour account and its password. If the project belongs to a company, its administrator may need to approve access. To work with an ordinary folder on your computer you need neither GitHub nor GitLab
  • A computerWindows or Mac where you can install programs. For the browser route any browser will do
Route A · the Claude app for Windows and Mac

Working through the Claude app on your computer

One shared step first: install the app. Then choose a mode: work with a folder on your computer, or connect a project from GitHub

Our screenshots show the app with a Russian interface. In English the buttons sit in exactly the same places, though the labels may read slightly differently

Step 1 · shared

Install the app and open Code

  1. Go to claude.ai/download, download the version for Windows or Mac and install it like any other program
  2. Sign in with the same account you use for Claude
  3. In the top left corner there are two icons: a chat bubble and </>. Click </> 1, that is Claude Code

What you'll see: a box for your task with two labels under it. On the left is the environment, meaning where Claude does its work. Next to it you choose a folder or a project

Top left corner of the Claude app: chat icon and code icon 1
real screenClaude app for Windows, November 2026

Two ways of working

This computer
Files
In a folder on your drive
GitHub
Not required
Computer
Must stay on while Claude works
Good for
Documents, spreadsheets, a website or a project that is simply a folder for now
Cloud
Files
On GitHub, Claude fetches them itself
GitHub
Required. GitLab does not work in the cloud
Computer
Can be switched off, Claude works on its own servers
Good for
A project that already lives on GitHub
Bottom bar of the Claude app: environment, project folder, permission mode 2 3 4
real screen2 environment: this is where you switch modes · 3 folder or project · 4 permission mode
Mode 1 · This computer · steps 2–5

Working with a folder on your own drive

Step 2

Keep the project in a folder on your hard drive, not in the cloud

  1. Open File Explorer → This PC → Local Disk (C:) or (D:)
  2. Right-click → New → Folder. Call it, for example, Projects, and create your project folder inside it
  3. Move the project files there, if you already have them

Why not OneDrive, Google Drive, Dropbox or iCloud. Claude can change dozens of files in a minute, and the sync program tries to upload them at the same moment. Files get duplicated (you see "copies"), some may exist "online only" so Claude simply cannot see them, and the change history gets damaged by syncing

Careful with Desktop and Documents. Windows often keeps them in OneDrive without telling you, and a Mac may keep them in iCloud. To check: if the File Explorer address bar contains the word OneDrive, or your files show cloud and green tick icons, that folder is in the cloud

File Explorer · address bar
✓C:\Projects\my-project
✓D:\Work\my-project
✕C:\Users\Name\OneDrive\Documents\my-project
✕Google Drive\My Drive\my-project
Diagram: what a folder path looks like. Green ones are fine, red ones are best avoided
Step 3

Open that folder in Claude

  1. Under the task box it should say This computer 2 (or Local). If another environment is selected, click it and pick this one
  2. Next to it is a folder icon with a name 3. Click it
  3. The usual Windows folder dialog opens. Find your folder on the hard drive and click Select Folder

What you'll see: the folder name now appears next to the folder icon. To work with another folder, click the name and pick a different one

Bottom bar of the Claude app: environment and selected folder 2 3
real screenInstead of the placeholder you will see the name of your folder
Step 4

How folder access works

  • Claude sees only the folder you selected and everything inside it. It does not open neighbouring folders, other drives or your personal documents
  • It asks before making changes. In the bottom right corner is the permission mode 4, on the screenshot it says "Auto". Click it to see the options. For the first few days pick the one where Claude asks before every edit. Once you are comfortable, you can give it more freedom
  • Your computer must stay on while Claude works: it runs right on your machine, not in the cloud

A first task: "Look at this folder and tell me in plain words what is in it"

Bottom bar of the Claude app: permission mode on the right 4
real screenPermission mode, bottom right
Step 5 · optional

Link the folder to GitHub or GitLab

You need this if the project already lives on GitHub or GitLab but you want to work on it on your own computer. It is also a way to use GitLab without VS Code

  1. Install Git: on Windows go to git-scm.com → Download for Windows and click Next on every screen (more detail in route C, step 1)
  2. Create an empty folder on your hard drive and select it in Claude (steps 2–3)
  3. Copy the project address. GitHub: the green Code button → the HTTPS tab. GitLab: the blue Code button → Clone with HTTPS
  4. Give Claude a task with your address:

"Download the project https://github.com/your-name/your-project.git into this folder"

What you'll see: Claude asks for permission, then a GitHub or GitLab sign-in window may open. Sign in once and it is remembered. Sending changes back works the same way, by asking: "Save these changes and push them to a new branch". You accept them with the Merge button on the website, as in route C, step 7

If there is no sign-in window and Claude reports an access error while GitLab rejects your password, you need an access token, see "GitLab rejects my password"

Claude · This computer · my-project
Download the project https://github.com/your-name/your-project.git into this folder
On it. May I run the command git clone?
YesNo
Diagram: an example conversation, the buttons may be named differently
Mode 2 · Cloud · steps 2–4

Connecting a project from GitHub

Step 2

Create a cloud environment

An environment is a computer in the cloud where Claude works on your project. You create it once

  1. At the bottom click This computer, or the Select environment button in the middle of the screen 5
  2. Choose the option to add a new environment
  3. In the New environment window open the Cloud tab 6
  4. In the Name field type any name, for example GitHub 7
  5. Leave everything else as it is and click Add environment 8

This window does not ask about GitHub, and that is expected. You connect GitHub in the next step, when you choose a project. "Limited network access" is a safety setting: the cloud computer only reaches the places it needs for the work

The Select environment button in the Claude app 5
New environment window, Cloud tab: name, network access, network secrets, setup script, environment variables, Add environment button 6 7 8
real screenClaude app for Windows, Russian interface, November 2026
Step 3

Connect GitHub and choose a project

  1. At the bottom you now see your cloud environment, and next to it a project picker 9. Click it
  2. Click Connect GitHub. Your browser opens
  3. Then follow route B, steps 3–4: Authorize → Only select repositories → pick your project → Install
  4. Go back to the app and choose the project in the list

No connect button? Connect GitHub through the browser: open claude.ai/code → Connect GitHub → Authorize, then github.com/apps/claude/installations/new → pick your project → Install. Close the Claude app and open it again. On a company plan (Team, Enterprise) the organization owner first has to turn GitHub on in the Claude settings, under Connectors

Claude · Code
Describe a task…
☁ GitHub Choose a project ▾9
No connected projects
Connect GitHub
Diagram of the screen. Buttons may look slightly different
Step 4

Work and accept the changes

Everything works as in the browser, route B, steps 6–7: you give a task in plain words, Claude puts its changes on a separate branch, you click Create PR and then Merge on GitHub

You can switch the computer off: in cloud mode Claude works on its own servers. The task carries on, and the result waits for you in the app and at claude.ai/code

Route B · GitHub in the browser · 7 steps

Connecting GitHub right in the browser

You will use two tabs: Claude and GitHub. You get sent back and forth between them automatically, that is normal

Step 1 of 7

Open Claude Code in your browser

  1. Type claude.ai/code into the address bar
  2. Sign in with the same account you use for Claude 1

What you'll see: a window with a message box, much like an ordinary chat with Claude. This is Claude Code, the part made for working on projects

claude.ai/code
Claude Code
Sign in to continue
Continue1
Diagram of the screen. Buttons may look slightly different
Step 2 of 7

Click Connect GitHub

  1. Claude offers to connect GitHub on its own. Click that button 2, it says Connect GitHub

What you'll see: you are sent to the GitHub website. If you are not signed in there, it asks for your GitHub login and password

Company plan (Team, Enterprise)? The owner of the company account first turns GitHub on in the organization settings: Organization settings → Connectors. Until then the button will not work

claude.ai/code
What shall we do?
No connected projects Connect GitHub2
Diagram of the screen. Buttons may look slightly different
Step 3 of 7

Let GitHub tell Claude who you are

  1. GitHub asks: Authorize Claude?
  2. Click the green Authorize button 3

What it means: you allow Claude to learn your GitHub username. It cannot see any projects yet, you pick them in the next step

github.com/login/oauth/authorize
Authorize Claude
Claude by Anthropic wants to access your account
Know your username
See the projects you give access to
Authorize3
Diagram of the GitHub screen
Step 4 of 7

Choose which projects Claude can see

  1. GitHub offers to install the Claude app
  2. Select Only select repositories 4
  3. In the Select repositories list pick your project 5
  4. Click Install 6

Why "only select": Claude sees the one project you need, not all of yours. You can add another one at any time

If the project belongs to a company, the button may say Request instead of Install. Click it: the request goes to the organization owner, and once they approve you can carry on

github.com/apps/claude/installations/new
Install Claude
All repositoriesEvery project, future ones too
Only select repositoriesOnly the ones you pick
4
Select repositories ▾5 your-name / your-project ✓
Install6
Diagram of the GitHub screen
Step 5 of 7

Go back to Claude and pick the project

  1. GitHub sends you back to claude.ai/code by itself
  2. Under the message box there is a project picker 7. Click it and choose yours

Project not in the list? Refresh the page. If that does not help, see "If something goes wrong"

claude.ai/code
What shall we do?
your-name / your-project ▾7
Diagram of the screen. Buttons may look slightly different
Step 6 of 7

Give the first task in plain words

For the first time, ask for something that changes nothing and only shows you around. For example:

"Look at the project and tell me in plain words what is where and how it is organised"

What you'll see: Claude opens the files, reads them and answers in the same window. It works on its own servers, so you can close the tab and come back later, the task keeps going

claude.ai/code
Look at the project and tell me in plain words what is where
The project has three parts: the website pages are in the pages folder, images in images, settings in the config file…
your-name / your-project
Diagram of the screen, an example answer
Step 7 of 7

Accept the changes when you like the result

When you ask for a change, Claude does not put it into the project itself. It puts it next to it, in a separate draft called a branch

  1. When Claude is done, click Create PR 8. It means "propose these changes to the project"
  2. GitHub opens with the list of changes: what it was and what it is now
  3. Happy with it? Click the green Merge pull request 9, then Confirm merge

The key point: until you click Merge, your main project has not changed by a single letter. You can experiment freely

claude.ai/code → github.com/…/pull/1
2 files changed · branch claude/… Create PR8
Updated the text on the home page
− Welcome
+ Good to see you
Merge pull request9
Diagram: the button in Claude at the top, the GitHub page below
Route C · GitLab · 7 steps

Connecting GitLab through VS Code

The cloud version of Claude Code, both in the browser and in the app, only works with GitHub. So we download the GitLab project to your computer and work on it there. It sounds harder than it is: everything is done with the mouse, and only once

Already installed the Claude app? You can skip VS Code: route A, step 5. This route is for people who like to see the project files on the left and Claude on the right

Step 1 of 7

Install Git

Git is the program that downloads a project from GitLab and sends your changes back. You will never open it, it works in the background

  1. Windows: go to git-scm.com, click Download for Windows 1, run the downloaded file and click Next on every screen without changing anything
  2. Mac: do nothing in advance. If in step 4 your Mac offers to install "developer tools", agree
git-scm.com
git
Latest source Release
Download for Windows1
Diagram of the screen. Buttons may look slightly different
Step 2 of 7

Install VS Code

A free program from Microsoft. Think of it as a desk for your project: files on the left, Claude on the right

  1. Go to code.visualstudio.com
  2. Click the big Download button 2 and install it like any other program
code.visualstudio.com
Visual Studio Code
Free. Built on open source
Download for Windows / Mac2
Diagram of the screen. Buttons may look slightly different
Step 3 of 7

Copy the project address in GitLab

  1. Open your project on gitlab.com
  2. Click the blue Code button 3
  3. In the Clone with HTTPS line click the copy icon 4

Take HTTPS, not SSH. SSH needs keys to be set up, and we don't need that

gitlab.com/your-name/your-project
your-project Code ▾3
Clone with SSH
[email protected]:your-name/…
Clone with HTTPS
https://gitlab.com/your-name/your-project.git
⧉4
Diagram of the GitLab screen
Step 4 of 7

Download the project in VS Code

  1. Open VS Code. On the start page click Clone Git Repository… 5
  2. A line appears at the top. Paste the address you copied (Ctrl+V, on a Mac Cmd+V) and press Enter
  3. Choose where on your computer to put the project, for example Documents
  4. VS Code asks whether to open the project: click Open
  5. If it asks Do you trust the authors?, click Yes, I trust the authors. It is your own project

GitLab may ask you to sign in. A browser window opens: sign in to GitLab and allow access. If a password box appears instead of the browser, see "GitLab rejects my password"

Visual Studio Code · Welcome
https://gitlab.com/your-name/your-project.git
Start
New File…
Open Folder…
Clone Git Repository…5
Diagram of the VS Code window. The line at the top appears after the click
Step 5 of 7

Add Claude Code to VS Code

  1. On the left, click the icon made of four squares 6: it is the extensions store (or press Ctrl+Shift+X, on a Mac Cmd+Shift+X)
  2. Type Claude Code in the search box
  3. Find the one published by Anthropic and click Install 7

Check the publisher. There are many look-alike extensions with the same name from other people. The right one is from Anthropic only

Visual Studio Code · Extensions
6
Claude Code
Claude Code
Anthropic ✓
Claude Helper
someone else
Claude Code Anthropic · anthropic.com
Install7
Diagram of the VS Code window
Step 6 of 7

Sign in to Claude

  1. At the bottom right of the window, click ✻ Claude Code 8. The Claude panel opens on the right
  2. Click Sign in. Your browser opens
  3. Sign in with the same account you use for Claude and click Authorize
  4. Go back to VS Code: the Claude panel is ready

There is also an icon at the top right (a spark), but it only shows when a file is open. The label at the bottom always works

your-project · Visual Studio Code
▾ your-project  pages  images  README.md
Claude Code Sign in to start Sign in
✻ Claude Code8
Diagram of the VS Code window. The label sits in the status bar at the bottom
Step 7 of 7

Work and send the changes back to GitLab

Type in the Claude panel in plain words. Start with the same safe task:

"Look at the project and tell me in plain words what is where"

When you ask for a change and like the result, write:

"Save these changes and push them to GitLab on a new branch"

  1. Claude asks permission before each action. Read what it is about to do and click Yes
  2. Open the project on GitLab. A bar with a Create merge request button appears at the top 9. Click it, then click Create merge request again at the bottom of the form
  3. Check the changes and click Merge. Now they are in the project

Until you click Merge, the main project stays as it was. A branch is a draft sitting next to it

gitlab.com/your-name/your-project
You pushed to the branch claude-changes Create merge request9
your-project
pages
images
README.md
Diagram of the GitLab screen

This route also works for GitHub if you prefer to keep the project on your own computer. The steps are the same, only you take the address from GitHub: the green Code button → the HTTPS tab

Peace of mind

What you don't need to worry about

Claude sees only what you opened

On GitHub, the projects you ticked when connecting. On your computer, only the folder you selected in the Claude app or opened in VS Code

The main project changes only when you click

Changes wait on a separate branch first. They reach the project when you click Merge yourself

Any change can be undone

GitHub and GitLab keep the whole history. Even after Merge you can go back to how it was: just ask Claude

Don't type passwords into the chat

Not to Claude, not into project files. If the project needs passwords or keys, they are kept separately, outside the repository

If something goes wrong

Common snags and how to fix them

A yellow bar at the top asks me to sign in again

Claude wants you to confirm your sign-in. Click the bar and sign in with the same account. While the bar is there, connecting GitHub and cloud environments may not work

The Claude app never offers to connect GitHub

GitHub only connects in cloud mode. Check in this order:

  1. A cloud environment is selected at the bottom, not "This computer". If you have no cloud environment yet, create one (route A, mode 2, step 2)
  2. Connect GitHub through the browser: claude.ai/code → Connect GitHub → Authorize, then github.com/apps/claude/installations/new → your project → Install
  3. Close the Claude app completely and open it again
  4. Company plan: ask the organization owner to turn GitHub on in the Claude settings, under Connectors
Files get duplicated, or Claude can't "see" some of them

This almost always means the project folder sits in OneDrive, Google Drive, Dropbox or iCloud. Move the folder to your hard drive, for example to C:\Projects, and select it in Claude again (route A, steps 2–3)

GitHub: my project is not in the list

Most likely it was not ticked when you installed the app. To add it:

  1. Open github.com/settings/installations
  2. Next to Claude click Configure
  3. Under Repository access add the project to Only select repositories and click Save
  4. Go back to claude.ai/code and refresh the page
GitHub: the button says Request instead of Install

The project belongs to a company (on GitHub this is called an organization), and only its owner can install apps there. Click Request and the owner gets a request. Once they approve, repeat step 5 of route B

Connect GitHub doesn't work on a company plan

On Team and Enterprise plans the owner of the company's Claude account has to turn GitHub on first: Organization settings → Connectors. Forward them this line

GitLab rejects my password

For downloading a project GitLab often does not accept your normal password. You need an access token instead, which is a long password meant for programs:

  1. In GitLab click your avatar → Edit profile → Access tokens on the left
  2. Click Add new token and give it any name, for example "VS Code"
  3. Tick read_repository and write_repository and choose an expiry date
  4. Click Create and copy the token straight away: GitLab will not show it a second time
  5. In the sign-in box enter your GitLab username, and paste the token into the password field

Keep the token like a password and don't send it to anyone, Claude included

VS Code: I can't see the Claude icon

Check three things:

  1. At the bottom right of the window there is a ✻ Claude Code label: click it
  2. The spark icon at the top only shows when a file is open. Click any file in the list on the left
  3. If the top of the window says Restricted Mode, click it and choose Trust. Claude does not run in restricted mode
The browser didn't open to sign in to Claude

Close VS Code completely, open it again and repeat Sign in. If nothing happens again, check whether your browser blocked a pop-up: a small icon with a cross appears on the right of the address bar

Claude keeps asking for permission

That is by design: it protects you from accidental actions. Read what it proposes and allow it if it is clear and you agree. If it isn't clear, click No and ask in plain words: "explain what you were about to do"

Glossary

Words you will come across

Repositoryrepo
A project folder online, together with the full history of changes
Clone
Download a project to your computer in a way that lets you send changes back later
Branch
A draft next to the main project. You can change anything in it, the main project stays safe
Commit
A saved point: a set of changes with a note on what changed and why. You can go back to any such point
Push
Send saved changes from your computer to GitHub or GitLab
Pull requestmerge request on GitLab
A proposal to move changes from the draft into the main project. You can see what it was and what it is now
Merge
Accept the changes: the draft flows into the main project

Rather not do it yourself?

We set it up for you: Claude Code, access to your projects and AI on your business data. It starts with a free 30-minute call

Book a free call

This guide is up to date as of November 2026. Websites rename buttons from time to time: if you can't find one, look for something with the same meaning, or ask Claude itself