Today I experienced, that
git status
is not sufficient to establish, that there are no changes in ones working directory, which aren't also stored in the (remote) repository. So, how can this be established?
PS.
git status
said
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Then I switched to another branch using
git checkout branchName
which contained local commits -- I was not even aware that this is possible.