Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Python Source Control Management (Git) in VS Code

Give Feedback

VS Code has built in support for source control management. In this lesson, you’ll learn how to work with VS Code’s robust source control features such as:

  • Staging files
  • Making commits
  • Pushing to and pulling from remote repos
  • Viewing diffs

joseph on April 6, 2019

Absolutely fantastic. Thanks for whipping this up and sharing.

Daniel on April 6, 2019

Great course. Helped to see it all in action and then go through the supporting materials alongside the course.

Austin Cepalia RP Team on April 7, 2019

Thanks, glad you both liked it! I design my courses so that they complement the written tutorials, sometimes adding in extra bits of information or different examples to help clarify a concept. Video + written content go hand-in-hand :)

Would be great to get any optimizations for running python debugging as my vs code currently takes ~2-5 seconds every time i run it.. which doing so regularly is super slow !

Also how can i get other unittest modules (pytest) working as efficiently as you have unittest working ?


Sciencificity on April 15, 2019

Thanks so much! This was awesome, I am sure to not go back to my previously used editor!

Pavel Krejsa on April 23, 2019

Hi, thanx a lot for this beginners intro. I would be very happy if you extend it with “virtualenv” like environment with different pip packages per environment.

stephenm on June 1, 2019

Great course! Would be nice to add a video on how to setup/config/use virtual environments with VS code

JulianV on June 5, 2019

git source control is just a click away.

Subhash Bhushan on Nov. 14, 2019

All Git-based source code repositories out there - Github, Gitlab, BitBucket - would work by default. If you use Mercurial, you could install the vscode-hg extension.

qmark42 on Feb. 1, 2020

I thought that I could do fair in Python coding but have since found that I am a “mid-beginner.” I will be downloading VS. but I expect to come back to this course in the future.

Thanks much to Austin and Real Python.

Lokman on March 12, 2020

Thanks @Austin Cepalia, last time I’m using Vim editor and bash. After start learned Vscode looks like editor IDE make things easier.

Ray Leiter on March 27, 2020

This video doesn’t appear to me to be a “beginners” video. I mistakenly thought this video was going to concentrate on how to setup the interface for a more productive use of the edit/run cycle. Material like the use of source control techniques and the debug facilities, I believe would be part of an additional video. Also, I think many tutorial authors are somewhat disingenuous when they use a particular operating environment but make the claim that it should be the same as other operating environments.

rickecon on April 11, 2020

Great course. Thank you.

Aparna on April 26, 2020

Much needed content to get started with VS code. thanks

tsusadivyago on May 19, 2020

I am going to try vs code now, great tutorial

Ranjith on May 25, 2020

Really good tutorial. Thank you. I think I will start using VS Code.

Alain Rouleau on July 20, 2020

Thanks for the tutorial. Learned quite a lot and VS Code is now my editor of choice. Tried other IDEs like PyCharm but much prefer VS Code since it’s not so bloated.

Become a Member to join the conversation.