Ai Coding Tools

How to Use GitHub Copilot to Write Code 50% Faster in 2 Hours

By BTW Team4 min read

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

In short

A step-by-step tutorial on leveraging GitHub Copilot to significantly speed up your coding tasks, complete with tips and tricks.

If you're a solo founder or indie hacker, you know how precious time is when you’re building your next project. Writing code is a significant part of that process, and let's be honest, it can be a slog. Enter GitHub Copilot, an AI-powered coding assistant that claims to help you write code 50% faster. Sounds like a dream, right? We decided to put it to the test and see if it actually lives up to the hype. Spoiler: it does, but there are some caveats.

What is GitHub Copilot?

GitHub Copilot is an AI pair programmer that suggests code snippets, functions, and even entire blocks of code based on the context of what you’re working on. It integrates seamlessly with popular code editors like Visual Studio Code, making it easy to incorporate into your existing workflow.

  • Pricing: $10/month or $100/year (as of June 2026)
  • Best for: Developers looking to speed up their coding process.
  • Limitations: It may suggest irrelevant code, and it's not perfect—sometimes it generates code that doesn't work at all.

Prerequisites: Get Set Up with GitHub Copilot

Before diving in, you'll need a few things:

  1. GitHub Account: You’ll need to sign up for a GitHub account if you don’t have one already.
  2. Visual Studio Code: Download and install Visual Studio Code.
  3. GitHub Copilot Extension: Install the GitHub Copilot extension from the Visual Studio Code Marketplace.

This setup should take about 30 minutes.

Step-by-Step: Using GitHub Copilot to Write Code Faster

1. Install GitHub Copilot

Open Visual Studio Code and navigate to the Extensions panel. Search for "GitHub Copilot," click install, and authenticate with your GitHub account.

2. Start a New Project

Create a new project or open an existing one. You can use any programming language supported by Copilot, such as JavaScript, Python, or Go.

3. Write Comments for Context

Copilot thrives on context. Start by writing comments describing what you want to achieve. For example, if you need a function to calculate the Fibonacci sequence, type:

// Function to calculate Fibonacci numbers

4. Accept or Modify Suggestions

As you type, Copilot will suggest code snippets. You can accept a suggestion by hitting Tab or modify it as needed. For example, after writing the comment above, Copilot might suggest a full function. Review it carefully—sometimes it’s spot on, sometimes it’s way off.

5. Test Your Code

After accepting a suggestion, run your code to see if it works as intended. This is crucial—while Copilot can speed things up, it can also introduce bugs.

6. Iterate and Improve

Use Copilot to make iterative improvements. For instance, if you need to optimize your function, just add another comment like:

// Optimize the Fibonacci function using memoization

7. Troubleshooting: What Could Go Wrong

  • Irrelevant Suggestions: If Copilot suggests code that doesn’t fit your context, try being more descriptive in your comments.
  • Code Quality: Always review Copilot’s suggestions for security vulnerabilities or inefficiencies.
  • Learning Curve: It might take a few sessions to get used to how Copilot works. Be patient!

Pricing Comparison of AI Coding Tools

Here's a breakdown of GitHub Copilot compared to other popular AI coding tools in 2026:

| Tool | Pricing | Best For | Limitations | Our Verdict | |---------------------|-------------------------|--------------------------------|--------------------------------------|--------------------------------------| | GitHub Copilot | $10/mo or $100/yr | Quick code suggestions | Sometimes generates incorrect code | Great for speeding up coding | | Tabnine | Free tier + $12/mo pro | Auto-completions | Limited language support | Good for simple projects | | Codeium | Free | Open-source projects | Less robust than Copilot | Ideal for budget-conscious devs | | Sourcery | Free + $20/mo pro | Python code review | Limited to Python | Excellent for Python developers | | Replit | $7/mo | Collaborative coding | Not focused on individual coding | Good for team projects | | Codex | $0-100/mo (varies) | Advanced AI suggestions | Expensive for solo devs | Powerful but pricey |

What We Actually Use

In our experience, we primarily use GitHub Copilot for its speed and versatility. It’s particularly effective for boilerplate code and repetitive tasks. However, we supplement it with Tabnine for specific projects that require nuanced understanding, especially when working with less common languages.

Conclusion: Start Here

If you're looking to write code faster, start with GitHub Copilot. Set it up in under two hours, and you’ll likely see a noticeable improvement in your coding speed. Just remember to keep an eye on the quality of the code it generates. If you find it doesn’t meet your expectations, consider trying other tools like Tabnine or Codeium.

Ready to speed up your coding? Give GitHub Copilot a shot, and let the AI do the heavy lifting while you focus on building your project!

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