Geek Culture
Published in

Geek Culture

Finally, Github Co-Pilot is Open to All

I believe most of you know what Github Co-pilot is. In case you don’t, below is the explanation.

GitHub Copilot is an AI pair programmer that helps you write code faster and with less work. It draws context from comments and code to suggest individual lines and whole functions instantly. GitHub Copilot is powered by Codex, a generative pretrained language model created by OpenAI. It is available as an extension for Visual Studio Code, Visual Studio, Neovim, and the JetBrains suite of integrated development environments (IDEs).

In very simple words it’s an auto suggestion extension to your favourite editor which will help you to write code more quickly and efficiently by auto-suggesting.

If you don’t know how to install Github Co-pilot and use it, you can watch this video of mine. I will also explain the same in this article.

Below are the instructions to add Github co-pilot to Visual Studio code, the instructions for other editors also remain fairly same.

  1. You need to have a Github account, if you don’t have one already, please create one by visiting this link.
  2. If you already have an account then login to and in top right you will see a card which says Github Copilot. It is shown in the below image.

3. You can click on it or directly visit this link and click on start free trial. Yes, Github co-Pilot is not free. At the time of writing this article It costs 10$ a month or 100$ a year. Finish your payment step by providing necessary details.

4. Now goto Visual Studio Code and click on Extensions and search for Github co-pilot and install it.

5. After installing in the bottom right a pop-up comes which will ask you to sign-in to Github. Be sure, you have logged out of all other Github accounts and logged into only that Github account where you have linked your payment details in the above step.

6. After this validation is completed, now your Github account and VSCode are linked. Now you can start testing Github Co-pilot.

There are two main ways to start using Github co-pilot.

1.Start typing function name and Github co-pilot will start auto suggesting the rest for you.


2. Add what you want to achieve in comments Github co-pilot will auto suggest the code below.


// Determine whether the sentiment of text is positive// Use a web service

For every solution that you anticipate from Github Co-Pilot will have lot of possible solutions.

Ex: To calculate day between dates, there are multiple approaches, you can check all the solutions available by clicking on cmd/ctrl and click on

  1. When you click on Open Github cop-Pilot: It will open all the possible suggestions available and you can pick a solution that meets your criteria. Some solutions might have better space complexity, some might have better time complexity, some might have both. You can pick a solution depending on your needs.
  2. Same can be done by clicking on Next and Previous, new code snippets keep appearing on click of these.
  3. On click of Accept the current solution will be accepted.

You can do lot of advanced coding using Github Co-Pilot visit official doc to know all.

Happy reading, see you in Next article.

If you’re preparing for a frontend developer interview, please watch the below series of mine:

If you’re preparing for MAANG frontEnd roles, then watch below video series of mine:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vasanth Bhat

Vasanth Bhat

Mobile Application Developer at Walmart. 6+ years of Software experience, Scalability Specialist, Coffee lover, likes travelling and writing.