 Hello friends, my name is Santosh Gaurban and I am a senior software developer and technical trainer So I will be providing a complete git and github crash course So let's get started. I will firstly introduce what will be we will be covering in this crash course Let's see We will be covering what is a version control What is why we need a version control system? What will be the version control tools available in the market? And we will be discussing about the introduction to git. We will work on local repository we will Discuss in detail and I will show how to work on local local repository and Next we will be discussing about VIM editor and I will show how to work on VIM editor and We will be working on most of the git commands which will be used While doing any kind of work in the companies. Okay, these are the most used git commands I will be discussing about SSH authentication. So I will show how to do the SSH authentication Next I will be showing how to work on Remote repository. So this is the course agenda. We will completely discuss about All these point mentioned in this course agenda Hello friends in this video, we will discuss about what is a well version control system And why we need a version control. So version control system is a software tool that helps programmer to manage their Source code changes over the time. Okay, and we can track each and every modification done to code into the database Suppose for example, I will give example of suppose there is one team Which has a 10 software developer and they are working on any particular program So each developer do the changes into that particular program and Commit on that program and that changes will be pushed to our central repository So it will be easy for us to identify who has made what changes So that is the main purpose of version control system It will make one separate version for every commit or suppose one developer has made some changes It will be a separate version for that Source code or that program in this way, we will have a 10 Version Available for that 10 software developers. Okay, they will do the changes in that So that actually that is the meaning that is the purpose of version control. Okay Now we will see why we need a version control system because nowadays we can see your team teams are working in a Collaboration right so teams are distributed distributed all over the world like they they are working in a different geography and they suppose they are working on a single program and They need to be there need to be a collaboration between team. So that is the main purpose Behind the water control system. So that's why we need a version control system. We can Store all different kind of versions in a version control system. That is the Benefit of version control system There is a third point that we can see a backup of source code can be placed in a version control system That's why we read a version control system Fourth point is analyze. We can analyze Source code that who has made what changes so that will be Easily identified by using version control system. So these are the major benefits of version control system So that most of the companies use the version control system tools. I hope you Got the concept. Thank you Hello friends In this video, we will be discussing about Different kind of origin control tools available in a market So currently we have multiple version control tools available in the market like a gate Subvergence CVS and there are many other version control tools also present in the market But we think that which is the best version control tool in the sense but Most of the companies are using gate version control system. So it is at the top position currently So we'll discuss about this gate. Okay, so introduction to get so it is the version control system that that That is used for tracking the changes in the computer file science programs So what are the benefits of the gates? It is the distributed version system. So we can coordinate work between multiple team members and we can easily identify is suppose There is a team who is working on a any program and multiple team members are working on a same program. So Suppose any programmer make changes into that code It will be easy to identify who has made changes and what time It is made changes. Okay, these things can be easily achieved by using gate. So the next benefit is for gate Next benefit of gate is we can reward the changes which we made. Okay, and Again, there is a benefit of local repository and remote report Jitri is also present there. So so there will be a Local local repository for each programmer. Suppose there is one team and that team has a team develop 10 developer and This 10 developer will have their own local repository. They will work on their local repository They they all have source code of that program and they will work on that Source code and they will push that changes to remote repository Remote repository is the central repository. It will be accessible to each and every developer from that team So they will work on their local repository and they will push whatever the changes they do Into the remote repository. So any in the same way they can access The source code from remote repository into local repository and they can start working on that Local repository once that task is completed. They will push that changes into remote repository. So this is the benefit of gate I hope you guys got the What what are the benefits of the gate? Hello friends So in this video, I will be showing you how to install the gate on a window. So let let get started Okay, it's very short video We'll just go to a window Sorry, we'll go to Google and we'll just type here download it for window Okay, once we click that we will see this Options here. We can just click on second option like download gate Okay, we'll see this page. We have to just click on this download Button so this is the latest version 2.2 9.2 for window. I have just now click Click and downloaded this one. You can see this one. Okay, just few minutes back only I have downloaded this. I'll just open this. Okay, and Yeah, I will start installing that I will double click on this Okay, click on yes Next Click on next Okay Click on next click on next next Next We don't have to change anything here We just have to follow As it is like we have to just click on next next next and we have to complete that installation Okay, so installation started for it. Okay, and here is the Installation of gate is completed. We'll just uncheck this view release note And we'll just check on launch git bash And click on finish Now git bash is open Okay, so if you want to check the version of this gate You can click on sorry if you can enter command Get dash dash version. Okay So you can see the same origin is showing here, which we have downloaded. Okay? So thank you very much Hello friends in this video, I will be showing how to create a local repository in our local machine So let's get started I'll go to the folder which I have created inside the C drive First project is I have created here We have already installed a git on our local system. So we can see here git bash here will be displayed We have to click here and it will open colorful window. So we have to enter here git in it Once we enter this so our local repository will be created under this path see we can see the path for this local repository and We go to that folder we can see here dot git folder will be created inside our first project. Okay? Once we click on git Folder we can see multiple files are created here config file description head these files are created here So we have successfully created our local repository in our local system Hello friends In this video, I will be showing how to create the central repository on github So let's get started I will open github site You can see this is the STTPS github.com When you are first time going to the site we have to create our github account first So to create the github account, we have to sign up for github here. Okay? I have clicked on here. You need to enter username email address password and We have you have to create the Account here. Okay, so I will not create the account here because I have already created. So I will just click on directly Sign in here. I Will just log into this account Once you log in you can see this page. Okay? You can see these two buttons here read the guide and start a project Read the guide is for information of github and github you can Learn any information related to github and github here, but we will be creating as our central repository So I will click on start a project here So you can see this page. Okay? Create a new repository. This is the owner name. Okay? And the owner name is same as our login name Santos136. I will create a repository here, so I will Give a unique name to this repository Get-123. Okay? So this is available. You can see here. Get-123 is available. So we can use this name So we'll go here. We have to select public or private here If you select public then we don't need to Pay any charges here, but when we select a private we may We need to pay some charges, but I will click on public here. Okay? We need to initialize this repository with sub files. Okay? I will add a read me file here, and I will click on create repository So you can see here our central repository is created. Okay? Okay, and you can see a read me file is also get created. Okay? And if you want to edit or this read me file, you can click on here and You can type anything here like for example This is a Read me page. Okay? Read me page. Sorry read me file Okay and I will Comment on changes. You can see here comment changes We just have to create on comment changes. So these got committed and this comment file is directly committed to our Main branch. Okay? This is the branch main branch. Okay? You can see here. So thank you friends I hope this is clear to you how to create Central repository on GitHub. Thank you. Thank you very much Hello friends in this video, I will be explaining about How to create the new files in local repository? How to make the changes in those file in local repository and how we can use Get status, get add and get commit commands while working on those Files in local repository. So we will Discuss in detail while doing demo. Let's get started with the demo So first I will show you how these are Looking like first project folder. We can see here in first project folder Dodget folder is present and we have four files present along with this file one file two file three and read me File is present here. So first we will create a new file here, right-click and and Enter here text We will name this file as a file for and We'll enter anything this is File for okay, we have and enter this text inside and we'll save this and We'll go to our git bash We can see here. We have opened a git bash and we how we can check what is the status We will firstly we have to check the status of this file get status So we can see this is a untracked file currently file for is not it added into Our local repository because I will explain before going forward I will explain about the why it is the untracked file. Okay, so always remember that Whatever we can see here the first project folder. This will be initially act as our work place Workplace, okay, we will create our files here and This folder will work as a workplace as well as our local repository But what is the difference between both the things workplace and local repository so When we have created this file for But we can see how you can see this this is not yet added into our local repository because it is currently present in our Work workplace Location, okay, so it is not it added into our local repository to add this file Into local repository first we have to add this file into index and we have to commit on that That's why we have to perform the operation here So to do that we need to add this file for dot txt into index first So to add that add that file into index we have to enter this command get add file for dot txt Okay, so this file for is got and added into index Now we can check the status of this file. We can see here then The Representation is changed there initially it was showing untracked file now we can see new file is created here, but Not it we have not it committed on this file. So once we commit The changes then only this file get added into our local repository. Okay So to add this file into local repository. We need to give the command get commit Hi-Pen A Hi-Pen is for Committing all the files present in that Folder so happen M. M. Hi-Pen M is for message. So I will enter here committing file for Dot txt So commit is completed successfully. So one file is changed and one insertion create mode. We can see here. So now We can check the status of this file So on this master branch nothing to commit everything is already committed here so we can see and This file for is added into our local repository. So we can see here Enter LS we can see file for is added into our Local repository. Okay. Thank you friends. I hope you got it How to create a new file and how to add that new file into our local repository? Hello friends in the last video, we have already discussed about how to create the local repository in our local machines So in this video, I will be showing how to sync local repository with our central repository So central repository is nothing but our github a github is the hosting platform for version control and co-laboration where we have we can keep all the our project files so that You and your team member can work together on that project from anywhere in the world So I will be showing demo on this. So let's get started So we can see we have already created local repository under First project folder. We can see dot git folder is already created So we have to link that local repository with our remote repository So we can see here To link that local repository with our remote repository. We need to enter the command git Here we have to provide the path for our central repository. We go to our central repository here. We logged in already And we are on master branch We can copy path of this Central repository from here and copy this path and paste here We can see there is no error. It means our Local repository is successfully linked with the remote repository So next step you will be doing we can see a multiple files are present on this remote Repository on master branch. We can see file one file two file three read me find these files are already present on master branch from In our GitHub account. Okay, so we will pull that file into our system currently We don't have any file present in our first project We just did the linkage of the local repository with the remote repository now we will face that Files from remote repository to our local repository. So let's do that So we are in the master branch. So we'll be putting or we'll be entering this command git pull origin master and We'll hit on enter. So we can see All the files has been faced from Repository to our local repository file one file two file three and read me files are faced from our remote repository into our local repository And this is the message it is showing that okay So we have successfully We have successfully done the linkage of the our local repository to remote repository and we have successfully pulled the files from remote repository to our local repository Hello friends in this video I will be showing how to delete the files from our local repository and Once we delete that Files from our local repository. How we can reward those deleted file into local repository So let's get started. I will open that our local repository You can see here. We can see two files present in this our local repository This is the file one and read me file. These two files We will delete from our grid grid bash Okay, before we start, let's check the status of our Repository good status we can click type command So currently we don't have any commit or working train clean. So let's first delete the those two files Okay Get RM I fun are Star This command is you use to remove all the files present in our local repository. Okay, so I have deleted those both files We can see If we check the status now, so it's showing Deleted read me file and file on but it is not yet committed, right? So changes to be committed We are getting this message. So we need to commit that changes first Get commit happen a I pun m and hold Deleting files Okay, I will be providing this message deleting file. This is the command get commit Hi pun a is for to delete all the files which are present in our local repository and Hi pun m is for message and we are providing message deleting files here in this command. I Have I'm entering this so we can see here Both the file have been changed and it is deleted. Okay. Now we can see in our local repository So both the file got deleted from our local repository So how we can reward that back to our local repository. So let's see that also we go there We'll give this we'll give the command like how to reward that We can see here. How to reward a deleted file in local repository We have to provide this command get log. Hi pun diff. Hi pun filter is equal to de-summary Okay So we can put this command here and we can see What is the latest deleted file? We can see what is the latest commit? We can see here We can see the time here 928 916 Okay, a date is 17 Okay, so we can see here. This is the latest commit We did for deleting our files So let's reward that file. How we can do that? we do by Get reward and we need to provide here commit We are pasting that commit commit ID so we can see reward deleting files So this is getting reverted. So which two files are that? Read me file and file one. Okay We'll save this colon wq enter we can see this reward is Successfully completed. We again we can go to our local repository And see these two files has been reverted back. So this is the This is the way we can do the reward of we can delete the files from our local repository and reward back to our local repository. We can see those files here also LS Read me file and file one we can see in our local repository. Okay So, thank you friends. I hope you got it how to do that how to delete files from our repository and reward back. Hello friends in this video. I will be showing about Branching, okay, so why we need the branching when we have a master branch already present in our Local directory. The main purpose of creating branching is when our team start working on a new release or any Multiple releases we have to support in that cases branches is required Because we don't want to mix up all kind of work in a master branch itself because it will be very confusing for all team member to Identify files or working with the master branch. Okay So it is better to create a new branch and start working on that branch It's specific to the new the new release or whatever the release we are supporting So I will start with the demo now We firstly I will show you how we can see here in the first project folder we have like Seven seven files are present here and one dot get folder is present. So we'll create a New branch here before we start creating branch. I will show I will just clear here Screen now we will see the how many branches present in our current Local directory, okay, we have to enter the command. Good branches Good branch you can see here currently we have only one branch present that is a master branch Okay, so we have to create a new branch then we need to enter command get branch Suppose we have to create one first branch So enter here First branch got created now we can check the how many branches present in our local Sorry local repository So get branch So we can see here first branch got added here. Okay. And now So we have created this first branch under this master branch so we can see that all files from master branch will get present in first brand also because we have created Under master branch and it is it is all the files will get inherited from master branch. So we'll see How many files are present in first branch? So before that we will check how many files present in master branch. You can see here. There are like Seven files are present in master branch and the same count should be present in first branch also To go to first branch. We have to check out first get Check out to master branch. Sorry first branch so now we are into First first branch we can see a message which two branch first branch and how we can see here First branch is also get displayed here. Now we can check here How many files are present this same file will be present in our First branch also same as our master branch We can see a master branch has the same count of file and same file are present in our first branch also Now suppose we want to work on any specific release and Related to that release only we have to create some code of some files. In that case suppose we are creating one File for specific to that particular release we will create here new file Okay, so I will be creating that file by using vim editor file 7 now file 7 is not present in our master branch We are creating that into the first brand branch that is specific to first branch only of txt Okay, you can see this click on I button on keyboard. You can see insert is Displayed here corner this is 7th file I have entered click on escape colon WQ file got saved. Okay. Now we can see Here file got saved and file 7 is created here Okay, now we have to check that if that file has a Indexed or not. We need to check the file get status So we this file file 7 is not it indexed. We need to index that file first it add File 7.txt it got indexed and we need to commit on that index that file for that file commit 5.m committing file 7 So the file got committed So now we can see File 7 is a present in the first branch, but that should not be present in a master branch So before that I will clear the screen and we will see how we how it looks like So currently we are in a first branch. We'll see how many files are present These are all files are presenting here and file 7 is mainly we are looking into We can see file 7 is present in first-brand branch So we'll check out to main branch and we'll check the if that file is present in a main branch or ideally It should not be there because we have created First brand sorry file 7 in a into the first branch only So give check out to main master branch We have switched to branch master. Now we can check that we can see here We don't see a file 7 is present in master branch. This is the reason behind creating the branching here. So this will help developer or software engineer to work on specific module or specific release so that he can work on that specific area and And it will not make a confusion for him to Create everything in a master branch and it will not confusing for us for that person so File 7 is created into the first branch and it is not present in This is the Branching concept. So I hope you got what is the meaning of branching and why it isn't required So thank you guys Hello friends in this video I will be showing and I will be explaining about merging of file scene git Okay, so basically we will try to understand why we need the merging. Okay, so When we have a production deployment or any kind of a deployment then always it will be happened from our master branch only right and When we start on working For multiple releases that time we create a different branches and we start working on that branches So whatever the we do the work on different branches at the end of the day We have to merge that into our main or master branch. Okay, so that is the reason We have to do the merging of multiples multiple files into our master branch. Okay, so Let's get started with our demo So, I hope you got the concept behind merging of file. Okay, you can read here Also, the git merges command let you take an independent line of development created by git branch and integrate them into single branch created So we'll directly go to our git bash here. So now we can see here. I will just clear my screen here first Okay, so currently we are in a master branch Okay, we can see how many files are present in master branch. We have total seven files are present in a master branch and We'll check out to our first branch Good and we we have all we have successfully check out to first branch and we'll see how many files are present So we can see a difference between these two is that a file 7 is present in our first branch that we are specially working on any particular release and Related to that release only we have Created first branch here and under that branch we were working on it and file 7 is created up under this branch. Okay So at the end of the day, we have to like merge this file to our master branch, right? So we have to do the merging of this First branch with master branch So whenever we have to merge any kind of files or any kind of code, then we should always be present in our Destination or where we want to merge right firstly, we have to check out our master branch Now we we are currently in a master branch, right? So we can check out So so we can merge that code into master branch now because our Wherever we want to the want to do the merging we should always be present in that Branch only because we want to do the merging in master branch So we we should be present in a master branch. We currently we have checked checked out to master branch Now we can do the merging of that file 7 from first branch. So get merge So one file changed and one insert insertion is happened. So so this Merging is happened successfully. We can see here File 7 is present in our master branch now. So this this I hope you got the concept of merging, right? So initially This file was present in a first branch only and it was not present in a master branch. Now we did the merging of this file with our master branch and It happened successfully currently we are in a master branch. We can see this file got merged successfully in a master branch And suppose we want to do some changes in that particular file I will just show here. You can see at currently what we have In this file This is 7th file, I will make some changes into it. I will just open a VM editor I want to write some additional text here. I will Do some modification Changes in file 7. Okay, I will okay. I will save it. I will just check the status of this Okay So currently this file we have modified. So it is again it got to Untracked file. So we need to commit that changes, right? So I will add this to Sorry, first firstly we have to Okay, sorry, we did some wrong here because I wanted to do changes in a our first branch first I will check out to Or else anything that can be possible because if you see we have modified in a main branch, right? And if we modify here, we can like We can commit add to track. Sorry. We can add to Index and we can do the commit on that file also here get Add file 7 Txt Can check it status here Okay, it is modified successfully and we are doing it commit hypernium Oh, it is showing some error here. It requires some value Get commit hypernium Permitting file 7 Yeah, it got successfully changed and inserted Now we can see currently we are in a master branch and we can check the it is successfully modified or not Yeah, this is modified successfully changes in file 7. Now we will check out our first branch Now we can see all files. Check the file number 7 I'll say one here So it is not changed because we did we did changes in a master branch only and in first branch We didn't do changes here. Okay. So Suppose we want to merge that Changes from master branch to first branch then how we can do we can do the same thing we already did, right? So we can do merge master Correct. It got change one file got changed. We can see less Yeah, we can see we can check this file got success merged or not So we can see here this file got successfully merged in our first branch also So this is the concept of merging week either we can merge from first branch to master branch or master branch to a first branch we can do both way like Okay, I hope guys you got This concept of merging. Thank you. Thank you very much Hello friends in this video I will be explaining about VIM editor by using VIM editor We will be creating a new file in our local repository will make some changes into that file in local repository And we will use to get commands like get status get add and get comment On to perform some changes on that files in local repository Okay We have already discussed about this in last video also To create a new file, but that approach was something different in last Approach what we have done We have right click here and create a new text file in our working space here This is our working space and we have created that file Okay, but in this video, we will be creating a new file using our VIM editor. So to create a new file We need to enter VIM and enter filename file 6 dot txt So you can enter this command and click on enter We can see this black window will be visible in front of us. So this is a VIM editor Inside this there is nothing is entered here. So to enter any text or anything inside this file We have to first click on I button on our keyboard So you can see this insert text is visible on now editor. Okay. Now you can enter anything here. This is File 6. I have entered this text. Okay. Now we have to save these changes I mean this we have to save this entered text into this file Okay, to save this first we have to click on escape button on our keyboard You can see this insert text was now Insert text is invisible now. So now we can Click on shift colon WQ so you can see here at the at the corner of this colon WQ it will save our file Okay, now it got saved. Now we can see this file is present or not Yeah, with this file 6 is got created here Currently this file is in the working area only working space working space only here We can see file got created in our working space, but Currently it is not added into our local repository Okay to add this file into local repository How we can check this if this is present in local repository or not we can click here like we can enter command get status Yeah, this is untracked file now. This is currently present in our working Directory or working workspace here, but this is not yet present in our Local repository. Okay, so to add this file 6 into our local repository We need to add this first into index. So to do that we have to enter this command get add file 6 Dot txt, okay, we added this file into our index now you can check Once we added this file into index We can after that do the commit on that file and that file get added into our local repository get status you can check here Yeah, you can see here new file is successfully added into our index now. We have to do the git commit ipon a ipon m committing All files Or we can say actually this ipon a is for committing all files. Okay, so we can commit We can provide this commit um git commit ipon a ipon m and This message we can provide and click on enter. So all file got Committed you can see here one file got changed and it is inserted now We can see this file 6 is present in our local repository and we can check the status as well git status So you can see there is nothing like Interact file or we can cannot see that kind of message here, right because we have already Committed I did that into index and after that we have committed that file. So I hope you got it How to create a new file by using vm editor and how to Do the changes into that file and how to commit Into that file and how to add that file into our local repository Hello friends In this video, we will be discussing about most used git commands So these are the list of the git command which we generally use in Our daily work. So let's get started Our first command is git init you can see here Already dot git folder is created. It means git init is already executed already Git init So we have re-initialized that existing git repository we can see here Okay, our second Second command is status And third add commit we will see one by one here Okay, we'll go to Our git repository git bash here Enter here git status And we can see here. There is nothing to commit. Okay. So this is the command we generally use Okay, so We will create a new file in our Local repository right click here and create a new text file file 9 Dot txt Enter some text File 9 and click on save We have saved this. Okay Now go to git bash here Now check the status git status You can see there is one attract file Okay We will add this file into our repository Okay Firstly we will add this file into index and then we will commit that index Okay, git add Copy this file name It is like dot text dot text. Okay Git status So it is added into our index. Now we have to commit that git commit hypen a hypen m Committing file file 9 So it got successfully Committed you can see there are Five files are present currently Okay, we'll go to next command here Now we can see a git remote Add origin this we have already done this command is Used to link our local repository with remote repository. We'll skip this because you you can find this command in a another video that you can go through so we'll Go to this git remove We'll work on this. So we will remove that created file git rm hypen r And file name we'll copy this file name and paste here Okay, okay Check the git status So file is successfully deleted. We need to commit that changes git commit Hypen a hypen m delete file 9 Okay, this is successfully deleted now. You can check the long list file 9 is not present in our List right in master branch So we have completed This command also remove command now. We'll check how to How to reward that deleted file back to our local repository? This is the command we can check which commit has Done delete on this We'll enter git hypen Git sorry git log hypen hypen We can see here diff hypen filter Is equal to d hypen hypen summary So these are the list of commits we already done This is the latest commit we can see here Currently we did Okay, so I will copy this commit id And I will enter here git reward and copy this commit So this is reverting our delete Okay Now save this file No, now we can see here this file is changed successfully and File is reverted back successfully now check the git status So there is nothing to commit so we can see File got reverted successfully File 9 is again present in master branch. This way we can do the Revert of file, okay So guys, I hope you got this all concept about this all the Commands git commands git init git status git add git commit git remote add origin git rm And this file and even after that we have executing git revert also Git reward and here we have entered commit id Okay, so these are the mostly used command in git I hope you understood all these Commands. Thank you. Thank you very much Hello friends in this video we will discuss about most used git commands part two Part one we have already discussed in previous video. So let's get started with the remaining Git commands which we have to discuss now So our first command is like git log here. I'll go to a git bash here I will enter git log here We can see log for all the commits and changes we did We can it it will be visible here this this will be the The warp of this command, okay. Now we'll check about the Next command now we'll check about the git branch So by using git branch we can find out how many branches are present under master branch or How many total branches are present in our local repository or this Okay You can see git branch So there are There are you can see here three branches are present in our local repository You can see a first branch master and third branch So This is the command Which check the how many branches are present if you want to create a new branch then we need to enter Suppose we want to create a fourth branch And this is not in the in this list. We will be creating branch fourth. We can enter like git branch And click on and enter. So we can see here fourth branch is also get created here Okay So let's move to next command here. Our next command is check out. Suppose we want to check out from one branch to another branch, then we have to use git check out and branch name So currently we are in a master branch. You can see I'll just clear the screen and I will show you in detail So currently we are in a master branch And if you want to move to our first branch Or we want to check out to first branch then enter git check out first branch Where switch to our first branch here first branch is visible here. We can see All the files from first branch here Okay, I hope you got this concept for switching from one One branch to another branch. So let's move to next Okay, we want to merge. Suppose we want to merge files from one branch to another branch We can merge that also currently We'll see how many files are present in a master branch and how many files are present in a first branch We can see in first branch. We have Four files present and let's check out to master branch And check how many files are present We can see here Five five files are present and in first branch. We can see four files are present Suppose you want to merge file nine this file from master branch to first branch Then we can do by using git merge command So before doing merge, we need to go to that destination branch first to do the merging of that file Let's go to that git check out Check out to first branch We are successfully checked out to first branch. Now we can merge Now we can merge our master here master branch to our first branch This got successfully merged. You can check the status here Okay, and now we can check the list of files in first branch Now we can see file nine dot text dot text is added into our first branch Which was all which was not present in first branch initially It was present in a master branch, but it was not present in a first branch Now after merging this we can see file nine dot text dot text is added into our first branch also This is the merging concept Now we can push and pull our Changes from our local repository to remote repository. We will go to our remote repository We can see a master branch here We don't see a file nine dot text dot text present in a master directory here Okay, we can push that changes to remote repository Okay, I will clear this screen first git check out to master branch Now you can pull Now you can do the git pull origin master here So it is already up to date. Okay, so We will now we can see this File nine dot text dot text is not present in our master branch, right? We can see file five six seven eight are present in a master branch in our GitHub, but in our local repository File nine dot text is present here. So we can push this file to our remote repository. So how you can do enter git push origin Master Now go to our remote repository and check if that file is successfully pushed or not Refresh here. We can see file nine is successfully posted or posted here Okay So we have completed all the Git commands which we which are mostly used in git So I hope guys you got all this concept Thank you. Thank you very much Hello friends in this video, I will be showing how to create a ssh authentication on our github account That is a remote repository. So let's get started Firstly, I will open our git bash And we need to enter command like ssh happen ky gian isn, okay We can see this message will appear Click on enter Do you want to override because we have already created one ssh So do you want to override? We are getting such kind of message here. I will say yes Okay, enter enter And We can see here our public key has been saved to this location Okay, we'll check that ssh key That will be the ssh key And paste here So this ssh key is generated here Okay, we'll copy this ssh key on to our github account Okay, I will go to how to navigate. We can see here on right click Sorry on this corner button click on here and go to setting We can see here ssh and gpg key is present here We can see these two ssh keys are already present. So we will be creating new ssh key here Okay, I will name here ssh 6 Okay, and I will copy and paste that ssh which we have Created here copy and add ssh key So our ssh key is added successfully Okay here and we will be We will be Doing ssh hyphen t and github.com command on our So that it will get linked to our Remotely repository, okay ssh hyphen t gith Advert So you can see here message we got. Hi Santos 136 you have successfully authenticated. Our authentication is successfully completed here So we can See here ssh authentication is successfully done for our Key ssh 6. Okay I hope you guys understand this concept. Thank you. Thank you very much Hello friends in this video, I will be showing how to push the changes to github Remote repository from our local repository. So let's get started with our demo So initially we will go to our github account. We can see in master branch We can see only three files are present file 5 file 7 and file 8 Okay, and We'll go to git bash here and currently we are in master branch. We'll check how many files are present File 5 file 7 and file 8 are present. We'll create a new file here And we'll post that file into our github account File 6 we will create You can see this file created is in untracked file. So we'll firstly add that into index git add We can Recommit that Okay, so we'll uh push this file into our github account, okay Just now we have created file 6 and Push that it push origin So we'll see that file is successfully posted or not Yeah, you can see here file 6 is successfully posted into our Or it is pushed successfully into our github account. That is a remote repository Okay, I hope you got this concept guys. Thank you