What is the difference between 'git pull' and 'git fetch'?
- git pull fetches and merges, git fetch only downloads
- No difference, they are identical
- git fetch is faster than git pull
- git pull works offline, git fetch requires internet
Explanation
git fetch downloads changes from the remote repository without merging them, while git pull performs a fetch followed by a merge, updating your current branch with remote changes.