Ai Coding Tools

How to Master GitHub Copilot: A 2-Hour Crash Course

By BTW Team5 min read

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

In short

Unlock the full potential of GitHub Copilot with this intensive 2-hour crash course. Learn practical tips and tricks to enhance your coding efficiency and AI-assisted development workflows.

In 2026, coding efficiency is more crucial than ever, especially for indie hackers and solo founders juggling multiple projects. GitHub Copilot promises to supercharge our coding workflow, but mastering it can feel overwhelming. I’ve been there — staring at the screen, unsure how to integrate this AI assistant into my daily routine. This crash course will guide you through practical steps to harness GitHub Copilot effectively in just two hours.

Prerequisites: What You Need Before Starting

Before diving into Copilot, ensure you have the following:

  • GitHub Account: Sign up for free if you don’t have one.
  • Visual Studio Code: Download and install this code editor (free).
  • GitHub Copilot Subscription: Costs $10/month after a 30-day free trial.
  • Basic Understanding of Coding: Familiarity with JavaScript, Python, or similar languages will help.

Setting Up GitHub Copilot

  1. Install the GitHub Copilot Extension:

    • Open Visual Studio Code.
    • Go to the Extensions view (Ctrl+Shift+X).
    • Search for "GitHub Copilot" and click "Install".
  2. Authenticate with Your GitHub Account:

    • After installation, you'll be prompted to sign in. Follow the on-screen instructions to authenticate.
  3. Configure Settings:

    • Go to Settings (File > Preferences > Settings).
    • Search for "Copilot" to adjust preferences like suggestion visibility and inline suggestions.

Expected Output: You should see code suggestions appear as you type.

Understanding How Copilot Works

GitHub Copilot uses AI to predict and suggest code based on the context of what you’re writing. Here’s how to make the most of it:

1. Write Comments First

Start by writing a comment describing the function you want to create. For example:

// Function to calculate the factorial of a number

Copilot will often suggest the full function.

2. Use Short Code Snippets

Instead of writing entire functions, start with a few lines. This allows Copilot to generate relevant suggestions based on your input.

3. Accept or Reject Suggestions

As you type, suggestions will appear. You can accept a suggestion by hitting Tab or reject it with Esc. This lets you maintain control over your code.

Troubleshooting Common Issues

  1. Suggestions Are Irrelevant:

    • Ensure your comments are clear and descriptive.
    • Provide sufficient context in your code.
  2. Copilot Doesn’t Activate:

    • Make sure you are in a supported file type (like .js, .py, etc.).
    • Check your subscription status on GitHub.
  3. Performance Lag:

    • If you're experiencing slow suggestions, consider restarting Visual Studio Code or checking your internet connection.

What’s Next: Expanding Your Copilot Skills

Once you’re comfortable with the basics, explore these advanced techniques:

  • Pair Programming with Copilot: Treat Copilot as a coding partner. Discuss your approach and see how well it understands your intent.
  • Refactoring Code: Use Copilot to suggest improvements or alternative implementations of existing code.
  • Learning New Languages: If you want to branch out, use Copilot to help you write code in languages you’re unfamiliar with.

Tools to Enhance Your Copilot Experience

Here’s a list of tools that can complement your use of GitHub Copilot:

| Tool | What It Does | Pricing | Best For | Limitations | Our Take | |---------------------|----------------------------------------|--------------------------|---------------------------|------------------------------------|------------------------------| | GitHub Copilot | AI-powered code suggestions | $10/mo | Daily coding tasks | May suggest incorrect code | Essential for our workflow | | Visual Studio Code | Code editor with extensions | Free | All coding needs | Requires setup | Our main editor | | Prettier | Code formatter | Free | Keeping code clean | Limited customization | We rely on this for style | | ESLint | Linting tool for JavaScript | Free | JavaScript projects | Requires configuration | Great for catching errors | | Postman | API testing tool | Free tier + $12/mo pro | API development | Can be complex for beginners | Use for API integrations | | Figma | UI design tool | Free tier + $15/mo pro | Prototyping applications | Learning curve | Helpful for design mockups | | Notion | Documentation tool | Free tier + $8/mo pro | Project management | Can get cluttered | Use for team collaboration | | Docker | Containerization tool | Free | Deployment automation | Steep learning curve | Great for scaling apps | | Slack | Team communication tool | Free tier + $6.67/mo pro | Team collaboration | Limited features on free tier | Essential for team updates | | GitKraken | Git GUI client | Free tier + $4.99/mo pro | Version control | Paid features limit functionality | We prefer command line tools |

What We Actually Use

In our setup, GitHub Copilot is indispensable. We pair it with Visual Studio Code, ESLint for code quality, and Postman for API testing. This combination keeps our workflow efficient and productive.

Conclusion: Start Here

To master GitHub Copilot, follow this crash course and dedicate a solid two hours to practice. Start by setting it up, understanding its functionalities, and integrating it into your daily coding tasks. Once you feel comfortable, expand your skills and tools to maximize your productivity.

Remember, the key to mastering Copilot is consistent practice and exploration. Now go ahead and give it a shot!

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