origin/master or master code example Example: git same as origin master git reset --hard origin/master