🌱 BasicsCommonly used
How to pull changes from a remote repository
Download and integrate changes from a remote repository.
Pull current branch
git pullFetches and merges changes from the tracked remote branch.
When to use: Standard way to update your local branch.
Pull with rebase (cleaner history)
git pull --rebaseFetches remote changes and replays your local commits on top. Avoids merge commits.
When to use: When you want a linear history without merge commits.
Fetch without merging
git fetch originDownloads remote changes without applying them. Lets you inspect before merging.
When to use: When you want to see what changed before integrating.
Fetch all remotes
git fetch --allDownloads changes from all configured remotes.