brnach is upto date will all commits but has differnt files 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