Ai Coding Tools

How to Use GitHub Copilot to Boost Your Coding Productivity in Just 2 Hours

By BTW Team4 min read

How to Use GitHub Copilot to Boost Your Coding Productivity in Just 2 Hours

If you're a solo founder or indie hacker, you know that time is your most precious resource. Writing code can be time-consuming, and that’s where GitHub Copilot comes in. Launched in 2021 and continuously improved since, this AI-powered coding assistant can help you write code faster and with fewer errors. In this guide, I’ll walk you through how to set up and effectively use GitHub Copilot to boost your coding productivity in just 2 hours.

Prerequisites: What You Need to Get Started

Before diving in, make sure you have the following:

  1. GitHub Account: If you don’t have one, it’s free to create.
  2. Visual Studio Code (VS Code): Download and install it if you haven’t already.
  3. GitHub Copilot Subscription: As of March 2026, it costs $10/month after a free trial period.

Setting Up GitHub Copilot: Step-by-Step

Step 1: Install Visual Studio Code

  • Time Estimate: 10 minutes
  • Expected Output: A fully functional VS Code environment.

Download Visual Studio Code from the official website and install it on your machine.

Step 2: Install the GitHub Copilot Extension

  • Time Estimate: 5 minutes
  • Expected Output: The Copilot extension will be added to your VS Code.
  1. Open VS Code.
  2. Go to the Extensions Marketplace (Ctrl+Shift+X).
  3. Search for "GitHub Copilot" and click "Install".

Step 3: Sign In to GitHub

  • Time Estimate: 5 minutes
  • Expected Output: You are logged into GitHub within VS Code.

After installation, you'll need to sign in to your GitHub account. Follow the prompts to authenticate.

Step 4: Start Coding with Copilot

  • Time Estimate: 1 hour
  • Expected Output: Write several lines of code with Copilot's suggestions.

Begin writing code in your project. As you type, Copilot will start suggesting code snippets. You can accept suggestions by pressing Tab or cycle through multiple suggestions with Ctrl + ].

Step 5: Fine-Tune Copilot's Suggestions

  • Time Estimate: 20 minutes
  • Expected Output: Improved accuracy in Copilot's suggestions.

If Copilot's suggestions aren't quite right, you can refine them. Provide comments or function names to guide its context. For example, typing “// function that calculates the area of a circle” will help Copilot generate the appropriate function.

Troubleshooting: What Could Go Wrong?

  • Issue: Copilot doesn’t suggest anything.

    • Solution: Ensure you’re connected to the internet and that your subscription is active.
  • Issue: Suggestions are irrelevant.

    • Solution: Be more specific in your comments or code structure.

What’s Next: Maximizing Your Copilot Experience

Once you’ve mastered the basics, delve deeper into Copilot’s features. Start using it for writing tests, generating documentation, or even creating boilerplate code. The more you practice, the more you'll uncover its potential.

Pricing Breakdown

| Tool | Pricing | Best For | Limitations | Our Take | |---------------------|---------------------------|----------------------------------|------------------------------------------|---------------------------| | GitHub Copilot | $10/month, free trial | Accelerating coding tasks | Limited to supported languages | We use it for rapid prototyping and learning new frameworks. | | Codeium | Free, Pro $19/month | Collaborative coding | Less accurate than Copilot | We don’t use it because it lacks the integration we prefer. | | Tabnine | Free tier + $12/month | AI code completion | May require fine-tuning | We’ve tried it, but Copilot feels more intuitive for us. | | Replit | Free, Pro $20/month | Collaborative coding environments | Limited features in free tier | Good for team projects, but not our go-to. | | Sourcery | Free, Pro $12/month | Improving code quality | Focuses on refactoring, not new code | Useful for code reviews, but we stick to Copilot for writing. |

Conclusion: Start Here to Boost Your Coding Productivity

In just 2 hours, you can set up GitHub Copilot and start leveraging its capabilities to enhance your coding speed and efficiency. While it’s not perfect and has its limitations, it can significantly reduce the time spent on repetitive tasks.

If you’re looking to improve your coding workflow, I highly recommend giving GitHub Copilot a try. Remember, the key to making the most of it is practice and experimentation.

Follow Our Building Journey

Weekly podcast episodes on tools we're testing, products we're shipping, and lessons from building in public.

Subscribe

Never miss an episode

Subscribe to Built This Week for weekly insights on AI tools, product building, and startup lessons from Ryz Labs.

Subscribe
Ai Coding Tools

Bolt.new vs GitHub Copilot: Which AI Tool Is Truly Better?

Bolt.new vs GitHub Copilot: Which AI Tool Is Truly Better? (2026) As a solo founder or indie hacker, you're probably looking for tools that can streamline your coding process and m

Mar 21, 20263 min read
Ai Coding Tools

How to Use AI Tools to Write Code 3x Faster (in 2 Weeks)

How to Use AI Tools to Write Code 3x Faster (in 2 Weeks) If you’re a solo founder or indie hacker, you know the struggle of writing code efficiently. The manual process can be tedi

Mar 21, 20265 min read
Ai Coding Tools

How to Create Your First Chatbot Using AI Coding Tools in Just 2 Hours

How to Create Your First Chatbot Using AI Coding Tools in Just 2 Hours Building your first chatbot might seem like a daunting task, especially if you're new to programming or AI to

Mar 21, 20264 min read
Ai Coding Tools

Cursor vs GitHub Copilot: Which AI Coding Tool Best Suits Developers in 2026?

Cursor vs GitHub Copilot: Which AI Coding Tool Best Suits Developers in 2026? As developers in 2026, we face an evergrowing array of AI tools designed to enhance our coding experie

Mar 21, 20263 min read
Ai Coding Tools

Why GitHub Copilot is Overrated: A Critical Review for 2026

Why GitHub Copilot is Overrated: A Critical Review for 2026 As a solo founder or indie hacker, you’re always on the lookout for tools that genuinely enhance your productivity witho

Mar 21, 20264 min read
Ai Coding Tools

Versus: GitHub Copilot vs Codeium for JavaScript Development

Versus: GitHub Copilot vs Codeium for JavaScript Development As a developer, you've probably wrestled with the frustration of writing repetitive boilerplate code or searching for t

Mar 21, 20263 min read