Already up to date code example
Example 1: git already up to date but not
git checkout master
git reset --hard test
git push --force origin master
Example 2: git Already up to date.
git reset --hard master
git checkout master
git reset --hard test
git push --force origin master
git reset --hard master