option
Home
News
How to use GitHub's AI coding assistant for free - and why it's worth a try

How to use GitHub's AI coding assistant for free - and why it's worth a try

May 17, 2025
201

GitHub Copilot, the AI coding assistant from GitHub, has recently made waves by introducing a free tier to its previously subscription-only service. In this guide, we'll walk you through the steps to set up and effectively use GitHub Copilot in Visual Studio Code (VS Code).

Before diving in, it's important to mention a caveat based on my own experience. I found that the free version of GitHub Copilot didn't pass half of my coding tests. This performance might be due to the free tier's limited access to advanced AI models compared to the paid version, which taps into OpenAI's more sophisticated language learning models. Despite this, the free tier still offers a generous 50 full queries per month, providing a good opportunity to test drive the tool and see how it fits into your VS Code workflow.

Getting Started with GitHub Copilot

To begin, ensure you have VS Code installed and updated to the latest version, and that you have a GitHub account ready. Once you've opened VS Code, you'll be greeted with a prompt to start using GitHub Copilot for free.

Screenshot by David Gewirtz/ZDNET

Select the radio button and proceed to sign in. You'll go through a two-step authorization process, starting with linking your account and followed by authorizing the connection.

Screenshot by David Gewirtz/ZDNET

Screenshot by David Gewirtz/ZDNET

Screenshot by David Gewirtz/ZDNET

After authorization, you'll land on a start screen where you can choose to interact with GitHub Copilot either through chat mode or directly within your code. However, before jumping into coding, I highly recommend adjusting some settings for a more personalized experience. Click on the GitHub icon at the top of the screen and select "Manage Copilot Settings."

Screenshot by David Gewirtz/ZDNET

In the settings menu, there are three options I suggest turning off:

Screenshot by David Gewirtz/ZDNET

  • Public Code Snippets: I prefer GitHub Copilot to generate code independently rather than pulling from public repositories. Although AI models are trained on public code, I choose to avoid direct incorporation when possible.
  • Using My Code for Improvements: I'm not keen on GitHub using my code to enhance their service, even though I typically release my code as open-source.
  • Using My Code for Training: Similarly, I don't want my code contributing to training data for AI models.

After adjusting these settings to your preference, close the settings window and return to VS Code. GitHub Copilot functions as an extension in VS Code, and you'll see it listed and activated in your https://img.xix.aiextensions pane.

Screenshot by David Gewirtz/ZDNET

Using GitHub Copilot to Enhance Your Coding

For my first test, I opened a code block in the editor and used the chat box to ask GitHub Copilot to identify any logic errors. It scanned the code and provided valuable suggestions, pointing out a potentially fatal error that I might have overlooked during initial testing.

Screenshot by David Gewirtz/ZDNET

Screenshot by David Gewirtz/ZDNET

Not only does GitHub Copilot identify issues, but it also suggests fixes, which can be applied with a single click, saving considerable time.

You can also engage with the AI directly in the code editor by pressing Control-I. I used this feature to ask Copilot to write code that highlights duplicated lines, and it delivered the code inline, right where I needed it. Pressing "https://img.xix.aiaccept" seamlessly integrates the AI-generated code into your editor.

Screenshot by David Gewirtz/ZDNET

Screenshot by David Gewirtz/ZDNET

Give GitHub Copilot a Try

That's the gist of using GitHub Copilot. With 50 free queries available each month, you have plenty of opportunities to explore its capabilities and decide if it's a tool that enhances your productivity. Why not give it a go and see how it fits into your coding routine?

Have you experimented with GitHub Copilot's free tier yet? Do you believe AI-powered coding assistants like Copilot boost productivity, or do they sometimes create more issues than they resolve? Which features do you find most helpful or frustrating? Are you at ease with Copilot's data policies, or do you have concerns about code privacy? Share your thoughts in the comments below.

Follow my daily project updates on social media. Don't forget to subscribe to my weekly newsletter and connect with me on Twitter/X at @DavidGewirtz, on Facebook at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, on Bluesky at @DavidGewirtz.com, and on YouTube at YouTube.com/DavidGewirtzTV.

Related article
Hightouch hits $100M ARR with AI-powered marketing tools Hightouch hits $100M ARR with AI-powered marketing tools In the past, marketers depended on designers and other creative specialists to produce images and videos for personalized online advertising campaigns.In late 2024, seven-year-old startup Hightouch introduced an AI-driven service that enables marketi
Meta signs deal for millions of Amazon AI CPUs Meta signs deal for millions of Amazon AI CPUs Amazon has secured a significant partnership with Meta, once again relying on its own custom-designed chips. Meta has agreed to deploy millions of AWS Graviton chips to meet its expanding AI demands, Amazon confirmed on Friday.Note that AWS Graviton
Doubao to launch paid features, accelerating ByteDance's large model monetization Doubao to launch paid features, accelerating ByteDance's large model monetization The large model market in China is undergoing a notable shift from free access to paid subscriptions. According to recent reports, ByteDance's flagship AI product Douyin is expected to launch a paid subscription feature around mid-June this year. Thi
Related Special Topic Recommendations
chatbot Best AI Flirting & Conversation Trainers: Improve Social Charisma and Confidence in Real-Time
Best AI Flirting & Conversation Trainers: Improve Social Charisma and Confidence in Real-Time

Discover the 2026 best AI flirting and conversation trainers on XIX.AI. Our curated, top-rated selection helps you build social charisma and confidence in real-time. Explore must-try, game-changing tools with free vs paid comparisons and weekly updated rankings. Unlock your social edge today.

10 tools
xix.ai
code Best AI Tools for Automated Unit Testing: Generate Jest, PyTest & JUnit Test Cases in One Click
Best AI Tools for Automated Unit Testing: Generate Jest, PyTest & JUnit Test Cases in One Click

Discover the 2026 latest top-rated AI tools for automated unit testing. Our curated selection features powerful, game-changing solutions to generate Jest, PyTest & JUnit test cases instantly. Compare free vs paid options with real-world tests and weekly updated rankings on XIX.AI. Unlock your AI edge and boost development productivity today.

10 tools
xix.ai
Data Analysis Best AI Data Visualization Tools: Auto-Generate Interactive BI Dashboards from Raw Files
Best AI Data Visualization Tools: Auto-Generate Interactive BI Dashboards from Raw Files

Discover the 2026 best AI data visualization tools at XIX.AI. Our curated, top-rated selection helps you auto-generate powerful, interactive BI dashboards from raw files instantly. Compare free vs paid options with real-world tests and weekly updated rankings. Unlock your data's potential today.

10 tools
xix.ai
Social Media AI Branding Kits for Social Media: Maintain Consistent Brand Visuals Across All Channels
AI Branding Kits for Social Media: Maintain Consistent Brand Visuals Across All Channels

Discover the 2026 best AI branding kits for social media. XIX.AI's curated list features top-rated, game-changing tools to maintain perfectly consistent brand visuals across all channels. Compare free vs paid options with real-world tests. Unlock your brand's visual edge today.

10 tools
xix.ai
chatbot Best AI Girlfriend Apps & AI Companion Tools for Roleplay (2026 Guide)
Best AI Girlfriend Apps & AI Companion Tools for Roleplay (2026 Guide)

Discover the 2026 latest top-rated AI companion tools for immersive roleplay and connection. XIX.AI's curated guide features powerful, game-changing apps with weekly updated rankings, free vs. paid comparisons, and real-world tests. Find your perfect match and unlock meaningful digital companionship today.

10 tools
xix.ai
writing Best AI Xianxia & Wuxia Assistants: Write Epic Cultivation Progression & Martial Arts Choreography
Best AI Xianxia & Wuxia Assistants: Write Epic Cultivation Progression & Martial Arts Choreography

Discover the 2026 best AI assistants for crafting epic xianxia & wuxia tales. XIX.AI's curated list features top-rated, game-changing tools to master cultivation progression and martial arts choreography. Compare free vs paid options with real-world tests. Unlock your creative potential and start writing today!

10 tools
xix.ai
Comments (8)
0/500
HarryNelson
HarryNelson May 11, 2026 at 10:00:42 AM EDT

GitHub Copilot 免費版真的來了!之前還在猶豫要不要訂閱,現在可以直接試試看。在 VS Code 裡設定會很複雜嗎?這篇指南來得正是時候,晚點就來照著步驟裝裝看,希望對寫 side project 有幫助 😄

RaymondWalker
RaymondWalker February 6, 2026 at 9:00:20 PM EST

Qué guay lo de que ahora sea gratis GitHub Copilot, aunque me pregunto... ¿qué pasará cuando estos asistentes IA sean tan buenos que ya no necesitamos aprender a programar de verdad? 😅 Igual solo por eso ya merece la pena probarlo.

ThomasAllen
ThomasAllen November 7, 2025 at 3:30:32 PM EST

現在才知道GitHub Copilot有免費方案,太晚看到了😭。好奇台灣的開發者社群有用這個嗎?我朋友說用起來像多了個會通靈的程式夥伴...

TimothyMiller
TimothyMiller September 23, 2025 at 10:30:43 PM EDT

GitHub这个操作有点意思啊,以前收费现在突然免费,是不是怕竞争对手抢市场?😂 不过对新入行的程序员确实挺友好,我试用了一下自动补全还挺顺手的,就是有时候建议的代码有点蠢...

StevenGreen
StevenGreen August 26, 2025 at 1:25:25 AM EDT

¡Qué chulada! Copilot gratis suena genial, pero ¿hasta dónde llegará su ayuda en proyectos complejos? Me intriga probarlo en VS Code. 😎

GaryRoberts
GaryRoberts August 14, 2025 at 1:00:59 AM EDT

GitHub Copilot's free tier is a game-changer! Tried it in VS Code and it’s like having a coding buddy who’s always one step ahead. Saves so much time on repetitive tasks. 😎 Worth checking out if you’re coding solo!

OR