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
241

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
Musk's xAI Halts Recruitment of AI Mentors Amid HR Overload Musk's xAI Halts Recruitment of AI Mentors Amid HR Overload Elon Musk’s AI venture, xAI, has recently introduced an unexpected operational shift. Citing informed sources, Bloomberg reports that the company has temporarily halted recruitment for specialists tasked with training and refining its Grok chatbot. T
How to fix Core Web Vitals for better SEO rankings How to fix Core Web Vitals for better SEO rankings How to Build a Free Website: Free Domain, Hosting & AI Website BuilderTable of ContentsIntroductionAI Website Builder 1: Hookous AIStep 1: Sign UpStep 2: Choose Business Type/NicheStep 3: Select ServicesStep 4: Define Website GoalsStep 5: Enter Busin
Apple, Google Partner With Anthropic to Address 27-Year-Old Vulnerability via Glass Wing Protection Apple, Google Partner With Anthropic to Address 27-Year-Old Vulnerability via Glass Wing Protection As artificial intelligence advances rapidly in code generation and logical reasoning, the cybersecurity landscape faces unprecedented challenges. Recently, the prominent AI startup Anthropic officially launched a cross-industry collaboration called *
Related Special Topic Recommendations
Image editing AI Object Removal Editors: Clean Up Portraits, Travel, and Product Shots
AI Object Removal Editors: Clean Up Portraits, Travel, and Product Shots

2026 Latest Best Top-rated AI Object Removal Editors for portraits travel product shots! XIX.AI curates a powerful game-changing collection regularly updated with weekly rankings. These tools offer real-world tests to help you quickly remove unwanted elements, boost content quality, and save tons of time without compromising results. Must-try for anyone aiming to unlock their AI creation edge. Explore now!

10 tools
xix.ai
Text-to-speech Best AI Text to Speech Tools for Online Courses
Best AI Text to Speech Tools for Online Courses

2026 Latest Best Top-rated AI Text to Speech Tools for Online Courses are curated by XIX.AI based on rigorous real-world tests and weekly updated rankings. These powerful tools help creators deliver crystal-clear audio content effortlessly, boosting writing efficiency and streamlining course production. Check out the free vs paid comparison to find your perfect fit. Explore now to unlock your AI edge in online education.

10 tools
xix.ai
writing AI Blog Title Tools for Higher Click Through Rates
AI Blog Title Tools for Higher Click Through Rates

2026 Latest Best Top-Rated AI Blog Title Tools for Higher Click Through Rates! XIX.AI has carefully curated a powerful, game-changing collection of top tools that go through rigorous real-world tests. You’ll find a free vs paid comparison, weekly updated rankings, and detailed insights to help you boost your blog’s traffic efficiently. Must-try options are highlighted to help you unlock your AI edge. Explore now!

10 tools
xix.ai
automation Best AI Task Routing Tools for Support Workflows
Best AI Task Routing Tools for Support Workflows

2026 Latest Best Top-rated AI Task Routing Tools for Support Workflows! XIX.AI has curated a highly powerful game-changing collection of must-try solutions, all undergoing rigorous real-world tests and updated weekly. These tools streamline workflows, boost productivity, and help teams deliver faster, more efficient support. Explore now to discover your perfect tool and unlock your AI edge!

17 tools
xix.ai
Academic Research AI Citation and Paper Summary Tools
AI Citation and Paper Summary Tools

2026 Latest Best Top-Rated AI Citation and Paper Summary Tools Curated by XIX.AI. Get powerful game-changing solutions for quick content creation, improved writing efficiency, and boosting productivity. We offer a free vs paid comparison along with real-world tests and weekly updated rankings to help you find the must-try tool that fits your needs perfectly. Explore now to Unlock your AI edge.

10 tools
xix.ai
Productivity Best AI Productivity Tools for Daily Work
Best AI Productivity Tools for Daily Work

2026 Latest Best Top-Rated AI Productivity Tools for Daily Work! XIX.AI has curated a powerful, game-changing selection based on rigorous weekly updated rankings and real-world tests. You’ll find must-try options that boost writing efficiency, streamline content creation, and help you overcome daily work challenges. Get a free vs paid comparison to find the perfect fit for your needs. Explore now to unlock your AI edge!

9 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