Build what's next on GitHub, the place for anyone from anywhere to build anything.
Join us October 28-29 in San Francisco or online for GitHub Universe, our flagship developer event uniting people, agents, and the world's code.
Get started with GitHub Copilot and navigate features like Copilot Chat in this installment of the GitHub for Beginners series.

Welcome to season two of GitHub for Beginners! Last season, we introduced you to GitHub and helped you go from beginner to confidently using the platform. This season, we’re continuing your journey by leading you into the world of AI with GitHub Copilot.
Imagine having a pair programmer who never takes a break and knows plenty of programming languages. That’s Copilot, which is powered by a number of large language models (LLMs) that you can choose from and is the industry’s most widely adopted AI coding tool. Today, we’ll be exploring everything you need to know to get started using it.
In this post, we will:
For the demos in this series, we use GitHub Copilot in Visual Studio Code.
Copilot is available in other IDEs, but the available functionality may vary depending on your environment.
Let’s get started!
Ready to start using GitHub Copilot?
We have documentation to help. It shows you how to get access to Copilot and how to use it, with step-by-step instructions so you can follow along. Learn how to set up GitHub Copilot >
Powered by generative AI and LLM models, GitHub Copilot is an AI pair programmer that helps you write code faster. It’s designed to help with programming tasks and acts as your assistant while working in your editor and on github.com.
In addition to code completion, GitHub Copilot can help you:
You can use GitHub Copilot with a variety of programming languages, and it’s available in VS Code, Visual Studio, JetBrains IDEs, Neovim, XCode, on GitHub Mobile, in your terminals, and on github.com!

This leads us to our next question: how do you access GitHub Copilot?
Before using GitHub Copilot, you need to have a GitHub account and—if you want more than the free version—a Copilot license.
There are four options available:

If you’ve never used GitHub Copilot before, sign up for the free tier to give it a try! Once you do that, you can install and use GitHub Copilot in your IDE and on github.com.
How you install GitHub Copilot depends on what IDE you’re using. GitHub Copilot currently works with several IDEs on the market—but for the purpose of this article, we’ll focus on two popular IDEs: VS Code and JetBrains.
If you’re using VS Code:
https://github.blog/wp-content/uploads/2025/03/04_vscode_install.mp4#t=0.001
A few helpful notes in case you run into any issues:
When you return to your editor, you’ll notice a Copilot icon at the top next to the Command Center, and a Copilot icon in the bar at the bottom of the editor window. If you click the icon at the bottom, it might ask you to select the account you want to use, then show menu options and display a ready status.

If you see Copilot icons next to the Command Center and at the bottom of the VS Code window, you’ve successfully installed GitHub Copilot and are ready to use it.
If you’re using a JetBrains IDE:
We’ll be using PyCharm to install GitHub Copilot in JetBrains IDE. Here’s how:
https://github.blog/wp-content/uploads/2025/03/04_install_copilot_jetbrains.mp4#t=0.001
A few notes that may be helpful:
Return to your editor and you will see a message that GitHub Copilot has been successfully installed.
Now, it’s time to authorize GitHub Copilot Chat.
Once you’ve completed these steps, you’re ready to use GitHub Copilot in JetBrains.
We now have Copilot installed in our editors, so let’s explore how to use features like code complete. In our example, we’ll be using Python in VS Code.
Here’s a short walkthrough on using code complete in GitHub Copilot:
validate_email.py.import re and press Enter. Copilot will suggest code based on what it believes you want to do. For example, since the file is named validate_email.py Copilot will provide code for validating an email.https://github.blog/wp-content/uploads/2025/03/06_code_completion.mp4#t=0.001
One thing to keep in mind: because we’re using Copilot for inline code completion, the gray text represents ghost text with Copilot’s suggestions. If you try this later and get a different response, no worries! When working with GitHub Copilot or any LLM, responses are nondeterministic—which means a different result may be generated every time (so you may get a different result than what’s shown in the examples).
Want to learn more? Check out our Docs
Find out how to use GitHub Copilot to get code suggestions in your editor including power tips to get started.
Get code suggestions in your IDE with GitHub Copilot >
GitHub Copilot Chat can provide more context into the code and what it means. Maybe you’re seeing the code for the first time and need to be brought up to speed quickly.
Open Copilot Chat, type /explain, and hit Enter. Copilot will give you a detailed explanation of what’s happening in the code. You’ll see that Copilot Chat has a view of the currently opened file as indicated by the eye icon next to the file name at the bottom of the chat window.

Let’s take a look at another example. Imagine you want to improve the regex and allow users to enter multiple email addresses.
Open Copilot Chat and type, “allows users to enter email multiple addresses for validation and also improve the regex to be more robust.” Once you send the request, Copilot will give you a plan, an updated code block, and a list of suggested changes. Hover over the code block, click the “Apply in Editor” button to accept the changes, and GitHub Copilot will make the updates for you.

Want to learn more about prompts and GitHub Copilot?
We have Docs on just that. Find out about some of the most useful prompts to ask Copilot Chat.
Time to address the elephant in the room: what’s the difference between GitHub Copilot and all the other copilots out there?
Well, GitHub Copilot is specifically designed for programming. And because it works where you work—both in your editor and on github.com—there’s no need to go back and forth between your browser or another app and your code. You’re able to stay focused without having to context switch between your editor and your AI assistant. And remember, when you hear “GitHub Copilot,” it’s referring to your personal AI pair programmer.
Looking to learn more about GitHub Copilot?
Try GitHub Copilot for free or read more about Copilot.
Thanks for joining our deep dive into GitHub Copilot.
Happy coding!