origin vs main vs master in giy=thub code example Example: git same as origin master git reset --hard origin/master