how to get the last state of branch code example
Example: how to return to latest version on git
// we need to type both of them git fetch origin git reset --hard origin/master
// we need to type both of them git fetch origin git reset --hard origin/master