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
11

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
Boost Confidence: AI-Powered English Conversation Practice for Social Anxiety Boost Confidence: AI-Powered English Conversation Practice for Social Anxiety Overcoming Social Anxiety in English: A Practical AI-Powered GuideFeeling nervous in English conversations? You're not alone. Many learners struggle with social anxiety when speaking a second language—fear of mistakes, difficulty understanding fast speech, or simply not feeling "fluent enough." But
Clipdrop's Stable Doodle Turns Sketches into AI-Generated Images Clipdrop's Stable Doodle Turns Sketches into AI-Generated Images Turn Your Sketches into Stunning AI Art with Clipdrop’s Stable DoodleEver wished your rough doodles could magically transform into professional-looking artwork? With Clipdrop’s Stable Doodle, that fantasy becomes reality. This cutting-edge AI tool lets anyone—regardless of artistic skill—turn simple
AI-Powered Compliance: Mastering Government Contracts for Business Growth AI-Powered Compliance: Mastering Government Contracts for Business Growth Unlocking Government Contracts: How AI is Leveling the Playing Field for Small BusinessesLanding a government contract can feel like navigating a bureaucratic maze—especially for small businesses. Between strict compliance rules, dense proposal requirements, and ever-changing regulations, the proces
Comments (0)
0/200
Back to Top
OR