you've learned about minus m and then here get branch and i'm going to explain branches in a second and then it says that this is how you push the repository so that's literally about it so in our case we don't have to do none of this because we already have the repository set up so all we want to do is just push so push an existing repository from the command line so here we need to do this and then we have to say get branch and then m and then push dash u and this is pretty much what we have to do so in our local machine we have our files and we want to push so we want to push the changes and all that's going to do is take our files and then put it inside of our repository that we have just created inside github so in order for us to be able to push first we're going to face an issue but let me show you first um what we need to do so in here let's go ahead and grab this command here so command c and then i'm going to go back to my terminal and here i'm going to paste so inside of learning dash git paste that and what i'm saying is git remote and origin so the remote for this branch is this path so amigos code so this is the username and then learning git is the repository so i'm going to press enter there we go that worked let me go back and here is telling me to say git branch and then minus m and then main so i'm going to grab this and right here the branch that we are currently in is master so github they recently changed the main branch to be called main instead of master so if i type git and then branch you can see that master is the branch so is this one right here now they recently changed so that the main so here the main is the main branch so a branch called main is the main branch so let's go ahead and paste that command oops not that one and let's grab this second one here and then paste there we go and you can see that now we have changed from master to main there we go from master to main and all we have to do is just say git push dash u and then origin main so if i paste this now i want you to be aware that this will fail so you can see that it says could not read from remote repository please make sure that you have the correct rights and the repository exists so next let's go ahead and configure our github account so that we can push to our remote repository
NO_SEGMENT_TOKEN