Fetching, pulling, and pushing Git repositories
The most important commands when working with Git repositories have to do with fetching, pulling, and pushing operations. There are two main ways to execute these operations:
- The first way is by accessing through the Git menu, as shown here:
- The second is to enable the Git Changes window, which you can open through the View | Git Changes menu, as shown in Figure 11.11:
At this point, you may be wondering what each of these operations is for. So, let's now explain them briefly.
Fetching repositories
The fetch operation allows you to check whether there are remote commits that should be incorporated into the local repository.
To run this example, go to the GitHub portal, log...