Ai Coding Tools

How to Set Up GitHub Copilot for Effective Pair Programming in 30 Minutes

By BTW Team3 min read

Comparing tools? See the AI tools tested on the show.

In short

Step-by-step guide on configuring GitHub Copilot to enhance pair programming sessions, allowing teams to work more collaboratively from the get-go.

If you've ever tried pair programming, you know it can be a double-edged sword. On one hand, you have another set of eyes to catch mistakes and brainstorm solutions. On the other, you can easily end up in lengthy discussions that slow down progress. Enter GitHub Copilot. This AI-powered tool can streamline your coding sessions by providing context-aware code suggestions, making pair programming more efficient. In this guide, I’ll walk you through setting up GitHub Copilot in just 30 minutes, so you can focus on building rather than fiddling with configurations.

Prerequisites: What You Need Before Starting

Before diving in, make sure you have the following:

  • GitHub account: You’ll need an account to access GitHub Copilot.
  • Visual Studio Code (VS Code): Ensure you have the latest version installed. Copilot works best in this environment.
  • GitHub Copilot subscription: Pricing is $10/month or $100/year, which is reasonable for the productivity boost.

Step 1: Install Visual Studio Code

  1. Visit the Visual Studio Code website.
  2. Download and install the version for your operating system.
  3. Open VS Code and familiarize yourself with the interface.

Expected output: You should see a clean workspace ready for coding.

Step 2: Install the GitHub Copilot Extension

  1. Open VS Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side.
  3. Search for "GitHub Copilot" and click on the "Install" button.

Expected output: The GitHub Copilot extension will be listed as installed in your Extensions view.

Step 3: Sign In to GitHub

  1. After installation, you’ll be prompted to sign in to your GitHub account.
  2. Follow the on-screen instructions to authorize the extension.

Expected output: A confirmation message indicating you are signed in.

Step 4: Enable Copilot for Pair Programming

  1. Open a new or existing project in VS Code.
  2. Start a new file or open a file where you want to write code.
  3. Begin typing a comment or a function name, and GitHub Copilot will start providing suggestions.

Expected output: Code suggestions appearing as you type, which you can accept by pressing the Tab key.

Step 5: Customize Copilot Settings

  1. Go to Settings in VS Code (File > Preferences > Settings).
  2. Search for "Copilot" to find various settings.
  3. Adjust options like inline suggestions and autocomplete behavior to suit your pair programming style.

Expected output: A personalized Copilot experience that enhances your coding flow.

Troubleshooting: What Could Go Wrong

  • Copilot not suggesting code: Ensure you’re signed in and have an active subscription. If problems persist, try restarting VS Code.
  • Suggestions not relevant: This can happen if you’re working on a niche problem. Adding more context in your comments can help.

What's Next: Level Up Your Pair Programming

After setting up GitHub Copilot, consider these next steps:

  • Experiment with different coding styles: See how Copilot responds to various prompts.
  • Collaborate with a partner: Use Copilot during live coding sessions to see how it enhances your workflow.
  • Explore other AI tools: Look into alternatives like TabNine or Kite for additional perspectives.

Conclusion: Start Pair Programming with GitHub Copilot Today

Setting up GitHub Copilot for your pair programming sessions can significantly reduce friction and boost productivity. You can get started in just 30 minutes, and the investment of $10/month is worth it for the efficiency gains. So grab a coding partner and dive in!

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read