I was reading this post: What is the difference between 'git pull' and 'git fetch'?
and it said that once you do a "git fetch", you actually update your "remote-tracking branches under refs/remotes//".
If so, let's say that I have a branch named 'dev_branch' and it exists both on my local machine and on the remote server. If I do "git fetch", can I say that:
- No change will be made to local branch 'dev_branch' ?
The branch 'origin/dev_branch' will be updated as the branch in remote server?
If I do "git pull", I understand that it merges my local branch with the remote one. If I just opened a local branch that doesn't have a correspondent branch in remote server (let's call it my_branch), how will "git pull" affect it? Is it correct to say that it will not cause any change?