Ai Coding Tools

How to Use GitHub Copilot to Boost Your Coding Speed by 50% in 2 Hours

By BTW Team4 min read

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

In short

Learn step-by-step how to effectively implement GitHub Copilot into your coding routine, enabling you to improve your coding speed significantly in just two hours.

If you're like me, you often find yourself staring at a blank screen, struggling to translate ideas into code. You know what you want to build, but the actual act of coding can feel like wading through molasses. Enter GitHub Copilot. This AI-powered coding assistant promises to not only help you write code faster but also boost your productivity by up to 50%. In this guide, I'll walk you through how to set up and effectively use GitHub Copilot, so you can start shipping features quicker than ever—all in about two hours.

Prerequisites: What You Need Before Getting Started

Before diving into the setup, make sure you have the following:

  • A GitHub account: You need this for Copilot to function.
  • Visual Studio Code (VS Code): GitHub Copilot integrates seamlessly with this code editor.
  • Subscription to GitHub Copilot: Pricing is $10/month or $100/year as of July 2026.
  • Basic understanding of coding: You should know how to write and debug code to get the most out of Copilot.

Step 1: Setting Up GitHub Copilot

Setting up GitHub Copilot is straightforward. Here’s how:

  1. Install Visual Studio Code: If you haven’t already, download and install VS Code from the official site.

  2. Install the GitHub Copilot Extension:

    • Open VS Code.
    • Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side.
    • Search for "GitHub Copilot" and click install.
  3. Sign in to GitHub: After installation, you’ll be prompted to sign in to GitHub. Follow the authentication process.

  4. Activate Copilot: Once logged in, you should see a Copilot icon in the bottom right corner of the VS Code window. Click it to activate.

Step 2: Getting Comfortable with Copilot

Now that you have Copilot set up, it's time to familiarize yourself with its features. Here are some practical ways to use it:

  • Code Suggestions: Start typing a function, and Copilot will suggest entire lines or blocks of code. Accept suggestions by pressing Tab.

  • Comments for Intent: Write a comment describing what you want to achieve, and Copilot will generate code based on that comment. For example, typing // Create a function to calculate the factorial will prompt Copilot to generate a factorial function.

  • Iterative Development: Use Copilot to iterate on your code. Write a basic version of a feature, then ask Copilot to improve it. For example, you might start with a basic sorting algorithm and then ask it to optimize it.

Step 3: Leveraging Copilot for Common Tasks

Here are some specific tasks where Copilot can save you time:

| Task | Copilot's Role | Time Saved | |---------------------------|----------------------------------------------------|------------| | Writing Boilerplate Code | Generates templates for functions, classes, etc. | 30% | | Commenting Code | Suggests comments based on code context | 20% | | Debugging Suggestions | Offers solutions to common coding errors | 25% | | Refactoring Code | Proposes cleaner, more efficient alternatives | 40% | | Generating Tests | Creates unit tests based on existing functions | 50% |

Step 4: What Could Go Wrong?

While GitHub Copilot is powerful, it’s not without limitations. Here’s what to watch out for:

  • Context Awareness: Copilot may not always understand the broader context of your project, leading to irrelevant suggestions.

  • Security Risks: Generated code may include security vulnerabilities or outdated practices. Always review code suggestions.

  • Dependency on AI: Over-reliance on Copilot can hinder your learning and coding skills. Use it as a tool, not a crutch.

Step 5: What’s Next?

After you’ve gotten comfortable with Copilot, consider these next steps:

  • Explore Advanced Features: Investigate how Copilot can assist with frameworks like React or libraries like TensorFlow.

  • Collaborate with Other Developers: Share your experiences with Copilot in team projects to see how it can enhance collaboration.

  • Contribute to Copilot's Improvement: Provide feedback to GitHub about your experience to help improve the tool.

Conclusion: Start Here

If you want to boost your coding speed by 50% in just two hours, GitHub Copilot is a solid choice. It’s not a magic bullet, but with the right setup and usage, it can significantly enhance your productivity. Start by familiarizing yourself with its features and integrating it into your daily coding tasks.

What We Actually Use: We primarily use GitHub Copilot for generating boilerplate code and speeding up our unit testing. While it’s not perfect, it saves us a lot of time, especially on repetitive tasks.

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