| title | Tutorial Step 6: Work With Git in Visual Studio |
|---|---|
| titleSuffix | |
| description | Explore step 6 of a tutorial about Python capabilities in Visual Studio that shows features for working with Git in Visual Studio. |
| ms.date | 07/30/2025 |
| ms.topic | tutorial |
| author | Devdiv-VR |
| ms.author | vedhar |
| ms.subservice | python |
This article presents Step 6 in the tutorial series Work with Python in Visual Studio.
Git is a version control system that helps you keep track of changes to your code files and projects. By storing your Python project files in Git, you can allow multiple developers to contribute to your files and maintain the integrity of your project over time.
In the previous steps in this tutorial, you create a Python application and make various changes to the code. In Step 6, you can add your application to a Git repository. You explore how to work with Git tools in Visual Studio to provide source control for your Python projects.
In Step 6 of the tutorial, you learn how to:
[!div class="checklist"]
- Use Git tools in Visual Studio
- Add a Python application to a Git repository
-
A Python application project that has a Python file (.py) with code created in Step 2: Write and run Python code.
-
Although not required to proceed with this step, review the instructions in Step 3, Step 4, and Step 5 of this tutorial for an end-to-end Python workflow in Visual Studio.
[!INCLUDE..get-started/includes/git-source-control.md]
Congratulations on completing this tutorial on Python in Visual Studio.
In this tutorial, you learned how to:
- Create projects and view a project's contents.
- Use the Visual Studio editor and run a project.
- Use the Interactive Window for Python to develop new code and easily copy code into the editor.
- Run a completed program in the Visual Studio Debugger.
- Install packages and manage Python environments.
- Work with code in a Git repository.