Ai Coding Tools

How to Harness GitHub Copilot for Maximum Productivity 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 setting up and leveraging GitHub Copilot to enhance your coding workflow and efficiency within just two hours.

If you're a solo founder or indie hacker, you know that time is your most precious resource. So, what if I told you that you could supercharge your coding efficiency using GitHub Copilot? In just about two hours, you can learn to leverage this AI-powered coding assistant to cut down on repetitive tasks, speed up your development process, and ultimately ship products faster. However, it’s not all sunshine and rainbows; there are trade-offs and limitations that you’ll need to navigate.

Prerequisites: What You Need to Get Started

Before diving into the setup, ensure you have the following:

  • GitHub Account: A free account is sufficient.
  • Visual Studio Code (VS Code): You can download it here.
  • GitHub Copilot Subscription: Costs $10/month or $100/year after a free trial.
  • Basic Coding Knowledge: Familiarity with JavaScript, Python, or the language of your choice.

Step-by-Step Setup: Getting GitHub Copilot Running

  1. Install VS Code: Download and install Visual Studio Code from the official site.

  2. Install the GitHub Copilot Extension:

    • Open VS Code.
    • Go to Extensions (Ctrl+Shift+X).
    • Search for "GitHub Copilot" and click "Install."
  3. Sign In to GitHub:

    • Click on the GitHub Copilot icon in the sidebar.
    • Sign in with your GitHub account to activate the extension.
  4. Configure Settings:

    • Go to File > Preferences > Settings.
    • Search for "Copilot" and adjust settings such as suggestion behavior and keybindings according to your workflow.
  5. Start Coding:

    • Open a new file and start typing a comment about the code you want. For example, "Create a function that fetches user data."
    • GitHub Copilot will automatically suggest code snippets. Press Tab to accept a suggestion or Esc to ignore.

Expected Output: You should see GitHub Copilot generating code snippets based on your comments in real-time.

Troubleshooting: What Could Go Wrong

  • Copilot Not Suggesting Code: Ensure you're logged in and the extension is enabled. Sometimes restarting VS Code helps.
  • Inaccurate Suggestions: While Copilot is powerful, it can produce incorrect or inefficient code. Always review and test generated code before deploying it.

Limitations: What Copilot Can't Do

While GitHub Copilot can significantly boost your productivity, it has its limitations:

  • Context Understanding: Copilot doesn’t always grasp the complete context of your code, leading to irrelevant suggestions.
  • Security Risks: Generated code may not follow best security practices. Always audit the code it generates.
  • Learning Curve: If you're not familiar with coding patterns, you may find Copilot's suggestions confusing.

Tools to Complement GitHub Copilot

To maximize your productivity, consider integrating other tools alongside GitHub Copilot:

| Tool | What It Does | Pricing | Best For | Limitations | Our Take | |----------------------|------------------------------------------------|-----------------------------|-------------------------------|--------------------------------------------|--------------------------------------------| | Postman | API testing and documentation | Free, Pro at $12/mo | API development | Limited to API-related tasks | We use this for testing API endpoints. | | Figma | UI/UX design and prototyping | Free, Pro at $12/mo | Design mockups | Can be overwhelming for beginners | We love it for designing interfaces. | | Trello | Project management boards | Free, Business at $10/mo | Task tracking | Lacks advanced features | We use it for managing our project backlog.| | Slack | Team communication | Free, Pro at $6.67/mo | Collaboration | Limited integrations on free tier | Essential for team communication. | | Zapier | Automates workflows between apps | Free, Starter at $19/mo | Workflow automation | Limited to 5 Zaps on free tier | We use it to connect different tools. | | Jira | Agile project management | Free, Standard at $7/mo | Agile teams | Can be complex for new users | We don't use this as it feels overkill. |

What We Actually Use

In our workflow, we leverage GitHub Copilot alongside Postman for API testing and Figma for design. Trello helps us manage tasks, while Slack maintains our communication. This combination allows us to stay agile and focused.

Conclusion: Start Here

If you want to enhance your coding efficiency and ship faster, start by setting up GitHub Copilot today. Spend around two hours following the steps outlined above, and you'll be well on your way to harnessing AI to streamline your coding process. Just remember to keep an eye on the limitations and use complementary tools to fill in the gaps.

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