Course GH-300T00-A: GitHub Copilot
Duration: 1 Day
This course explores the use of AI in the context of GitHub Copilot, a generative AI tool for developers. It equips users with the knowledge and skills to use Copilot effectively while mitigating potential ethical and operational risks associated with AI usage.
- AI Developers and Engineers: Professionals involved in creating and deploying AI systems who need to understand the ethical implications and governance frameworks.
- Data Scientists and Analysts: Individuals who work with data and AI models, focusing on ensuring transparency, fairness, and accountability in their work.
- Business Leaders and Managers: Decision-makers who oversee AI projects and need to implement responsible AI practices within their organizations.
- Policy Makers and Regulators: Those responsible for creating policies and regulations around AI usage, ensuring that AI systems are developed and used ethically and safely.
Responsible AI with GitHub Copilot
This module explores the responsible use of AI in the context of GitHub Copilot, a generative AI tool for developers. It will equip you with the knowledge and skills to leverage Copilot effectively while mitigating potential ethical and operational risks associated with AI usage.
- Mitigate AI risks
- Microsoft and GitHub's six principles of responsible AI
Introduction to GitHub Copilot
GitHub Copilot is an AI-powered coding assistant that helps you generate, understand, refactor, and debug code in real time using both inline suggestions and a conversational chat experience—directly from your development environment.
- GitHub Copilot, your AI pair programmer
- Interact with Copilot
- Set up, configure, and troubleshoot GitHub Copilot
- Exercise - Develop with AI-powered code suggestions by using GitHub Copilot and VS Code
Introduction to prompt engineering with GitHub Copilot
Discover the essentials of creating effective prompts with GitHub Copilot. Uncover techniques to transform your coding comments into precise, actionable code, enhancing your development workflow and accelerating code delivery through advanced prompting strategies.
- Prompt engineering foundations and best practices
- GitHub Copilot user prompt process flow
- GitHub Copilot data
- GitHub Copilot Large Language Models (LLMs)
Introduction to Copilot Spaces
This module introduces Copilot Spaces, guiding developers and PMs to create, configure, and use Spaces effectively for high-quality, grounded responses.
- Creating your first space
- Sharing, Discoverability, and Governance
- Do's and Don'ts of Working in a Space
- Exercise - Democratize tribal knowledge using Copilot Spaces
Using advanced GitHub Copilot features
Use advanced GitHub Copilot features with a Python application.
- Advanced GitHub Copilot features
- Exercise - Set up GitHub Copilot to work with Visual Studio Code
- Applied GitHub Copilot techniques
- Exercise - Update a web API with GitHub Copilot
GitHub Copilot Across Environments: IDE, Chat, GitHub.com, Command Line Techniques, and the GitHub Copilot App
Explore the multifaceted capabilities of GitHub Copilot across various development environments. Learn to harness AI-assisted coding in your IDE, engage in natural language conversations for complex tasks, enhance your command-line productivity, and accelerate your development workflow from code creation to pull request completion.
- Code completion with GitHub Copilot
- GitHub Copilot Chat
- GitHub Copilot on GitHub.com
- GitHub Copilot for the Command Line
- The GitHub Copilot app
Management and customization considerations with GitHub Copilot
In this module, we explore management and customization considerations with GitHub Copilot.
- Explore GitHub Copilot plans and their associated management and customization features
- Explore contractual protections in GitHub Copilot and disabling matching public code
- Manage content exclusions
- Troubleshoot common problems with GitHub Copilot
Developer use cases for AI with GitHub Copilot
This module explores how GitHub Copilot streamlines developer productivity through AI-powered features. It enhances the Software Development Life Cycle (SDLC), aligns with developer preferences, and identifies key limitations. Additionally, it measures productivity gains effectively.
- Boost developer productivity with AI
- Align with developer preferences
- AI in the Software Development Lifecycle (SDLC)
- Understand limitations and measure impact
Develop unit tests using GitHub Copilot tools
This module explores using GitHub Copilot and GitHub Copilot Chat to create unit tests. Exercises provide practical experience creating unit test projects and running unit tests in Visual Studio Code.
- Examine Visual Studio Code support for unit testing
- Generate unit tests with the GitHub Copilot Chat view
- Plan and automate test workflows using the Plan and Agent modes
- Extend tests with ghost text and fix failing tests
- Exercise - Develop unit tests using GitHub Copilot
Building applications with GitHub Copilot agent mode
Learn how to build applications using GitHub Copilot Agent Mode by prompting autonomous development tasks, using documentation for guidance, and understanding how Agent Mode iteratively manages, refactors, and improves your codebase.
- What is GitHub Copilot Agent Mode?
- Explore the power of autonomous development assistance
- GitHub skills exercise
Accelerate development with GitHub Copilot Cloud Agent
This module explains how to use Copilot Cloud Agent to assign tasks, streamline development, and combine automation with your team's expertise for faster, higher-quality outcomes.
- Understanding and enabling the GitHub Copilot Cloud Agent
- Security, risks, and limitations of the Copilot Cloud Agent
- Assigning, tracking, and troubleshooting Copilot Cloud Agent tasks
- Customizing, extending, and validating the Copilot Cloud Agent
- Responsible use of GitHub Copilot Cloud Agent on GitHub.com
- Exercise - Expand your team with Copilot Cloud Agent
Introduction to MCP Server
This module introduces GitHub MCP Server, a secure and scalable way to integrate GitHub features into your AI tools. You'll learn what MCP is, how to configure GitHub MCP Server in VS Code, use it with Copilot Chat, and troubleshoot common issues.
- Simplify your AI workflow with GitHub MCP Server
- Configure, connect, and use GitHub MCP Server in VS Code
- Using GitHub MCP Server with Copilot Chat
- Exercise - Integrate MCP with GitHub Copilot
Leveling up code reviews and pull requests with GitHub Copilot
This module introduces how GitHub Copilot enhances code reviews by accelerating review cycles, catching issues, and enforcing best practices.
- What GitHub Copilot adds to the review process
- Using Copilot as a reviewer in GitHub.com
- Catching issues early and automating reviews with Copilot
- Measuring impact and optimizing premium request units (PRUs)
- Exercise - GitHub Copilot code review
Using GitHub Copilot with JavaScript
To work with JavaScript, take advantage of GitHub Copilot, an AI pair programmer that boosts productivity with autocomplete-style suggestions.
- What is GitHub Copilot
- Exercise - Set up GitHub Copilot to work with Visual Studio Code
- Use GitHub Copilot with JavaScript
- Exercise - Update a JavaScript portfolio with GitHub Copilot
Using GitHub Copilot with Python
GitHub Copilot is an AI pair programmer that offers autocomplete-style suggestions as you code in Python.
- What is GitHub Copilot?
- Exercise - Set up GitHub Copilot to work with Visual Studio Code
- Use GitHub Copilot with Python
- Exercise - Update a Python web API with GitHub Copilot