Git pull command pulls new changes or commits from a particular branch from your central repository and updates your target branch in your local repository. Git fetch is also used for the same purpose but it works in a slightly different way. When you perform a git fetch, it pulls all new commits from the desired branch and stores it in a new branch in your local repository. If you want to reflect these changes in your target branch, git fetch must be followed with a git merge. Your target branch will only be updated after merging the target branch and fetched branch.
What is a repository in Git?
How to delete branch in git?
What is the use of ‘git log’?
What is the difference between Git and SVN?
List out Git repository hosting services
What is mean by ‘git config’ ?
How to resolve conflict in git?
What is the difference between git pull and git fetch?
What is ‘head’ in git and how many heads can be created in a repository?
What is a commit message?
How to create branch in git?
How can you create a repository in Git?
What is a ‘conflict’ in git?