Switch to another branch in local Repository

In order to understand this concept, I have created another branch in the git repository by the name of “sub-branch”. See the below image for the same. Now, rest of the activity is explained through series of steps. STEP 1 : Open Git GUI. Go to Remote->Fetch From->origin. See the below SS for the same. As you can see, new branch is fetched to our local. STEP 2 : Now, we have to create a name for this branch in my local Repository. Go to Branch->CreateAs you can see, I…