I am facing something I do not understand. I push and pull to a GitHub repository from two different machines.
When I commit a change locally from one of the machines and then push on the remote, on my other machine the repository does not see the change:
git status
returns
Your branch is up to date with origin master
Despite this, when I do git pull
the change is applied to my local repository.
Moreover, making a commit directly on GitHub is not seen in either of the machines.
Thee command git remote -v
returns the same thing on both systems.
I don't understand! Why can't I see that my local repository is behind the remote?