Ai Coding Tools

How to Use GitHub Copilot to Save 20 Hours a Month on Coding

By BTW Team4 min read

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

In short

A step-by-step guide for developers on how to effectively leverage GitHub Copilot to streamline coding tasks and save significant time every month.

As a solo founder or indie hacker, time is your most precious resource. If you're spending hours coding when you could be focusing on building your product, it’s time to consider GitHub Copilot. This AI-powered coding assistant can help you save up to 20 hours a month by suggesting code snippets, completing functions, and even writing boilerplate code based on your comments. In this guide, I’ll break down how to effectively use GitHub Copilot and share some real experiences, including potential trade-offs.

What is GitHub Copilot?

GitHub Copilot is an AI-powered code completion tool developed by GitHub and OpenAI. It uses machine learning to suggest code snippets and entire functions as you type, based on the context of your existing code and comments.

  • Pricing: $10/mo for individuals, $19/mo for teams
  • Best for: Developers looking to speed up coding tasks and reduce repetitive work
  • Limitations: It can occasionally suggest incorrect or inefficient code, and it requires an internet connection to function.
  • Our take: We find it invaluable for quickly generating boilerplate code and automating repetitive tasks.

Getting Started with GitHub Copilot

Prerequisites

Before diving in, ensure you have the following:

  • A GitHub account (free)
  • Visual Studio Code (VS Code) installed (free)
  • GitHub Copilot subscription ($10/mo)

Step-by-Step Setup

  1. Install the GitHub Copilot Extension:

    • Open VS Code and go to the Extensions marketplace.
    • Search for "GitHub Copilot" and click "Install".
  2. Sign In:

    • After installation, you’ll be prompted to sign in to your GitHub account and authorize Copilot.
  3. Start Coding:

    • Open a new file and start typing comments or code. For example, type // function to calculate sum and watch Copilot suggest a function.
  4. Accept or Modify Suggestions:

    • Use the Tab key to accept suggestions, or modify them as needed. If you see something that doesn’t fit, just delete it and try again.

Expected Outputs

Using GitHub Copilot, you should see:

  • Rapid code suggestions that match your intent.
  • Complete functions based on your comments.
  • Snippets that reduce the need for boilerplate code.

Troubleshooting Common Issues

  • Issue: Copilot suggests irrelevant code.

    • Solution: Ensure your comments are clear and specific. The more context you provide, the better the suggestions.
  • Issue: Copilot doesn’t seem to work.

    • Solution: Check your internet connection and ensure you’re logged into your GitHub account.

What Could Go Wrong

While GitHub Copilot is a powerful tool, there are a few caveats:

  • It may generate code that doesn’t follow best practices or contain bugs.
  • Over-reliance on AI can lead to less understanding of the code you’re writing.

What’s Next?

Once you’re comfortable using GitHub Copilot, consider integrating it with other tools to maximize efficiency. For instance, using it alongside a testing framework can help you generate unit tests for your functions automatically.

Tools Comparison Table

| Tool | Pricing | Best For | Limitations | Our Verdict | |--------------------|--------------------|----------------------------------|--------------------------------------|----------------------------------| | GitHub Copilot | $10/mo | Speeding up coding tasks | Can suggest incorrect code | Essential for rapid prototyping | | Tabnine | Free + $12/mo pro | Autocompletion | Limited language support | Great for specific language needs | | Kite | Free + $19.90/mo | Python development | Primarily focused on Python | Useful for Python devs | | Sourcery | Free + $12/mo pro | Code improvements | Limited to Python | Excellent for refactoring | | Codex | $0-20/mo | AI-driven code generation | Requires API integration | Powerful but complex to set up | | Codeium | Free | General coding assistance | Less accurate than others | Good for cost-sensitive projects |

Conclusion

If you're serious about saving time on coding, GitHub Copilot is a tool you shouldn't overlook. By following the steps outlined in this guide, you can leverage its capabilities to potentially save 20 hours a month. Start by integrating it into your workflow today, and watch your productivity soar!

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