git pull says already upto date but a change was made code example
Example: git already up to date but not
git checkout master
git reset --hard test
git push --force origin master
git checkout master
git reset --hard test
git push --force origin master