Ai Coding Tools

How to Use GitHub Copilot for Faster Coding in 3 Hours

By BTW Team3 min read

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

In short

A step-by-step guide on leveraging GitHub Copilot to significantly speed up your coding process within just 3 hours.

If you’re like most indie hackers or solo founders, you’re always looking for ways to speed up your development process without sacrificing quality. Enter GitHub Copilot: a tool that promises to help you write code faster. But does it really deliver? In this guide, I’ll show you how to use GitHub Copilot effectively in about three hours, sharing both what works and the trade-offs involved.

Prerequisites: What You Need Before Getting Started

Before diving in, here’s what you need to have in place:

  • GitHub Account: You’ll need a GitHub account to access Copilot.
  • Visual Studio Code (VSCode): Install VSCode if you haven’t already; it's the most compatible IDE for Copilot.
  • GitHub Copilot Subscription: As of July 2026, Copilot costs $10/month for individuals or $19/month for businesses, with a free trial available.
  • Basic Coding Knowledge: You should have a basic understanding of the programming languages you want to use.

Step 1: Setting Up GitHub Copilot in VSCode

  1. Install the GitHub Copilot Extension:

    • Open VSCode.
    • Go to the Extensions view (Ctrl + Shift + X).
    • Search for "GitHub Copilot" and click "Install."
  2. Sign in to Your GitHub Account:

    • After installation, you’ll be prompted to sign in to GitHub. Follow the on-screen instructions to authorize the extension.
  3. Enable GitHub Copilot:

    • Once signed in, ensure Copilot is enabled in your settings. You can do this by going to File > Preferences > Settings, then searching for "Copilot."

Expected Output: You’ll see a Copilot icon in your VSCode toolbar indicating it’s active.

Step 2: Writing Code with Copilot

  1. Start a New File:

    • Create a new file in your chosen programming language (e.g., Python, JavaScript).
  2. Write a Comment:

    • Begin with a comment describing what you want to accomplish. For example, // Function to fetch data from an API.
  3. Accept Suggestions:

    • As you type, Copilot will suggest code snippets. You can accept suggestions by pressing Tab.
  4. Iterate and Refine:

    • If the first suggestion isn’t quite right, you can keep typing to get new suggestions. Copilot learns from your coding style, so the more you use it, the better it gets.

Expected Output: You’ll see Copilot generating code based on your comments, saving you time on boilerplate code.

Step 3: Troubleshooting Common Issues

While GitHub Copilot is powerful, it’s not foolproof. Here are some common pitfalls and how to address them:

  • Irrelevant Suggestions: Sometimes, Copilot suggests code that doesn’t fit your requirements. In our experience, refining your comments can lead to better results.
  • Incomplete Code: Copilot may provide a partially complete function. You’ll need to fill in the gaps, so don’t rely on it entirely.
  • Language Limitations: Copilot works best with popular languages. If you’re using something niche, be prepared for less useful suggestions.

What's Next: Maximizing Your Copilot Experience

Once you've set up Copilot and gotten comfortable with its suggestions, consider these strategies to maximize its utility:

  • Explore Advanced Features: Try out features like code completion for entire functions or classes.
  • Use in Pair Programming: Collaborate with a developer and use Copilot as a second pair of eyes, discussing suggestions as they come.
  • Feedback Loop: Provide feedback on suggestions to help improve Copilot’s performance over time.

Conclusion: Start Here with GitHub Copilot

GitHub Copilot can significantly speed up your coding process, but it’s not a magic bullet. The real power comes from how you integrate it into your workflow. Start with the setup process outlined above, and give yourself a few hours to experiment with suggestions and refine your approach.

What We Actually Use: After trying various coding tools, we stick with GitHub Copilot for quick prototyping and boilerplate generation, but we always review its suggestions critically to ensure quality.

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