now that we have get all set up on our local machine
our next step here is to start interacting with github the platform and the website itself
here we can see i'm on github i have my own account if you don't have that set up go ahead and
create one with github it's pretty straightforward you know standard username password email for this
service here i'll point out that my username for github matches my get username that i
made previously although technically they are separate concepts over here on the right we can
see a plus sign where we can either create a new project and connect it to repositories you
can create a new organization which would be the overarching you know like it says organization
of what you're doing here there's a free version that we're going to use you can have for small
teams or enterprise level each progressively have more and more features naturally
new gist this is pretty cool it's basically just one file that you can write up some code and share
it either privately or publicly depending on what you do here with teammates or friends whatever
as opposed to creating a whole repository and sharing it that way you can import a repository
previously we did this locally but you could also do this right here on github directly
then there's new repository which is where we will start with this video now the owner here
is the account that you're logged in as i guess if you have multiple connected to you you could
select it or maybe you're the admin of a project organization and here's where you give it a name
we'll call this github demo repo it says it's available give it a description which is you know
as it says it's optional we'll make it public so you know anyone watching this can check it
out you can initialize a project with a readme file which is a markdown file a notes file that
lets people understand what this project is about and just give an overall description and
summary of what they can expect in this repository so sure we'll add that here
add a git ignore we can add this as well and git ignore will allow you to
pick certain files that you don't want committed to your repository maybe a certain config files
that are unique or files that hold passwords stuff like that that you don't want exposed here
you can set that to your git ignore and in this case we'll just select python and create
repository and here we go we have our main branch this could be master you know previously that was
likely called master but now it's called main representing the same thing that
the source branch that everything else is built on and we have a readme here that just gives
the name of our repo and our description we can also see the description over here
if you want to look at the files themselves we can jump in here and here's a preview of the file
obviously not much git ignore and get ignored because we selected that template for python
it automatically populated it with these files and file paths that you very likely
would not want to push to a project so they're kind of helping you out here and just saying
here are the ones that most likely you're not going to want and you can adjust as you need
so now this is created it's on github the site they're holding it but we don't have it as a local
developer how would we do that just like we did in the last video but this time we're going to do it
from our own new repo we'll go here to code copy this and we can see it has github.com my username
and then the name of the repository let's copy this now i'm going to come back into my command
prompt and you can see i'm still in this github demo folder that we had previously where we
cloned dbt so that's actually still in here and what we'll do here is say git clone and paste in
our repo and there it is it just cloned it for us if i go into github demo now we can see dbt which
was from the previous video where we cloned a separate public project but now also we have ours
this new one we have our readme get ignore and a git folder here which is going to
tie the git commands that you have on your machine to github itself and allow you to
push changes and do things that you want with this project let's open this up in an editor now
i will go here to the github demo project and i'm going to select github demo repo and here it is
here's that git ignore here's that readme and this is going to match exactly what we have here
so now we've set up a repository on github we added a readme a git ignore and now anybody in
the world really could clone this down and have it ready to go and start making changes to it