GitHub Copilot, your AI pair programmer

Completed

The logo icon for GitHub Copilot that shows the copilot icon in the middle with a blue and green swirl around the logo.

It's no secret that AI is disrupting the technology landscape. AI is profoundly changing the way the world works and how each organization and team operates. These advancements in AI serve as a catalyst, and dramatically improves the productivity of developers around the world as they use and apply it well.

When it comes to developers, adding AI features to the developer tools you use and love helps you collaborate, develop, test, and ship your products faster and more efficiently than ever before.

GitHub Copilot is a service that provides you with an AI pair programmer that works with all of the popular programming languages and dramatically accelerates overall developer productivity. In recent research, GitHub and Microsoft have found that developers experience a significant productivity boost when working on real-world projects and tasks when using GitHub Copilot. In fact, in less than two years since its launch, developers have experienced the following while using GitHub Copilot:

  • 46% of new code is now written by AI
  • 55% faster overall developer productivity
  • 74% of developers feel more focused on satisfying work

Developed in collaboration with OpenAI, GitHub Copilot is powered by OpenAI Codex, an AI system created by OpenAI. OpenAI Codex has broad knowledge of how people use code and is more capable than GPT-3 in code generation, in part because it was trained on a data set that includes a larger concentration of public source code.

GitHub Copilot is available as an extension for Visual Studio Code, Visual Studio, Vim/Neovim, and the JetBrains suite of integrated development environments (IDEs).

GitHub Copilot Features

GitHub Copilot started a new age of software development as an AI pair programmer that keeps developers in the flow by autocompleting comments and code, but AI-powered autocompletion was just the starting point. Here are some features of GitHub Copilot that truly makes it a developer tool of the future, surpassing just an editor and into a readily accessible AI assistant throughout the entire development lifecycle.

A ChatGPT-like experience in your editor with GitHub Copilot Chat

GitHub Copilot brings a chat interface to the editor that’s focused on developer scenarios and natively integrates with VS Code and Visual Studio. It recognizes what code a developer has typed, what error messages are shown, and it’s deeply embedded into the IDE. A developer can get in-depth analysis and explanations of what code blocks are intended to do, generate unit tests, and even get proposed fixes to bugs.

Copilot for Pull Requests

This new functionality is powered by OpenAI’s new GPT-4 model, and adds support for AI-powered tags in pull-request descriptions through a GitHub app that organization admins and individual repository owners can install. These tags are automatically filled out by GitHub Copilot based on the changed code. Developers can then review or modify the suggested description.

AI-generated answers about documentation

GitHub is launching GitHub Copilot for Docs, an experimental tool that uses a chat interface to provide users with AI-generated responses to questions about documentation, including questions developers have about the languages, frameworks, and technologies they're using.

Copilot for the command line interface (CLI)

Next to the editor and pull request, the terminal is the place where developers spend the most time. However, even the most proficient developers need to scroll through many pages to remember the precise syntax of many commands. GitHub Copilot CLI can compose commands and loops, and throw around obscure find flags to satisfy your query.

GitHub Copilot Business

GitHub Copilot is available through GitHub personal accounts with GitHub Copilot Individual, or through organization or enterprise accounts with GitHub Copilot Business and GitHub Copilot Enterprise.

Copilot Business allows you to control who can use GitHub Copilot in your company. Once you give access to an organization, its admins can then give access to individuals and teams.

With Copilot Business, GitHub Copilot is open to every developer, team and organization, and enterprise.

With features like code completions, chat in IDE and mobile, security vulnerabilities filter, code referencing, public code filter, IP indemnity, and enterprise-grade security, safety, and privacy, GitHub Copilot Business is focused on making organizations more productive, secure, and fulfilled. These features allow developers to code faster and enables them to focus on more satisfying work.

GitHub Copilot Enterprise

GitHub Copilot Enterprise is available for organizations through GitHub Enterprise Cloud.

Copilot Enterprise allows your teams of developers to quickly get up to speed on your codebase, search through and build documentation, get suggestions based on internal and private code, and quickly review pull requests.

GitHub Copilot Enterprise includes everything in GitHub Copilot Business as well as an additional layer of personalization for organizations and integration into GitHub as a chat interface to allow developers to converse about their codebase and action buttons throughout the platform. GitHub Copilot Enterprise can index an organization’s codebase for a deeper understanding of the customer’s knowledge for more tailored suggestions and will offer customers access to GitHub Copilot Customization to fine-tune custom, private models for code completion.

To learn more about GitHub Copilot Business and Enterprise, check out the related links at the end of this module.

In the next unit, we'll learn about how to get started with GitHub Copilot and some common configurations.