Up and Running with Git Transcripts
Chapter: Our first git repository
Lecture: Connecting the repo to VS Code and PyCharm

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Here we have our repository that we just cloned.
0:02 You can see it has the license,
0:04 this is the MIT
0:05 License we selected and the bare bones read me hitting command+shift+dot(.) reveals a couple
0:11 of things that git ignore which we'll talk about later.
0:14 And the .git folder. So this is the root of our repository right there
0:17 Now. We want to work with this and write some code.
0:21 Do you want to work with this in visual studio code?
0:24 Sure. So you drag the folder on top of visual studio code or on windows
0:28 You go over there and you say file open browse here and here you are
0:32 Check this out. What did I have to do to connect this to get
0:36 How do I know if I for example were to add a new file like
0:39 app.py? How would I know what should be happening to this and git
0:44 notice? It's already got this cool green color.
0:47 Just like PyCharm did. And down here we have our main visual studio code
0:52 and PyCharm, both natively understand.
0:55 Git and it's their preferred way to work.
0:58 So we've already got our branch down here we can do all sorts of operations on
1:02 it and it has a little star.
1:04 And even right here go to source control you can see there's a pending change of
1:09 adding this new file app.py What if you'd rather work in PyCharm?
1:14 Sure. Same deal, drag it on there and on the left is there a
1:19 source control thing, nope. But on the right there is let's get this virtual
1:23 environment thing out of the way for a minute notice over here.
1:25 You can see it has stuff about the source control.
1:28 We're not going to work with it yet through that way.
1:31 But notice that these automatically when you open a project contained within some git repository,
1:36 they just light up there, get features.
1:39 It's fantastic. And even up here you can see the get features turning on and
1:42 again the color of this one is red because it's not yet added.
1:47 Now let me change my virtual environment real quick.
1:49 I want to have a dedicated one new virtual environment right there called 'venv'
1:55 So I'm going to base that on Python 3.10 and you can see it's
2:01 created this virtual environment for us to work with right inside the project.