I have a question about git fetch.
Actually, I know how it works.
But I guess without that command, I can see the changes from origin/<branch>.
Lets say in GitHub repo, some files get changed and I can simply see them on my machine by doing git checkout origin/<branch> without git fetch origin/<branch> command.
Is it a new feature by git?
Automatically fetching remote repo?
git fetchautomatically at regular intervals, though.git maintenance) to Git, but it's not something that most people should be using yet and it's not enabled by default. I used to run some systems with mirrors that would auto-fetch regularly (5 and 15 minutes intervals, and 1 hour intervals) for internal corporate repositories, but that's rather different usage. We wrote all our own scripts to do this.