Q1. Yes
Q2. No
No, because your pull order is different and the remote can change between these two events.
No, because
git pull
is equivalent togit pull origin
only if there is nobranch.topic.remote
in the config, when you are on a topic branch.No, because
pull.rebase
,branch.topic.rebase
andbranch.autosetuprebase
config entries can makepull
re-base instead of making it merge.No, because
some_branch
will be in a different state at the end of the two scenarios. It will be updated (fetched and merged from origin) in the second case - aftergit checkout some_branch && git pull
, but only fetched in the first case aftergit pull origin some_branch
.