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 them through the Git menu, as shown in Figure 9.12:
Figure 9.12 – Accessing the Fetch, Pull, and Push operations from the menu
- The second way is to enable the Git Changes window, which you can open through the View | Git Changes menu, as shown in Figure 9.13:
Figure 9.13 – Accessing the Fetch, Pull, and Push operations from the Git Changes window
At this point, you may be wondering what each of these operations is for. So, let’s learn about 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...