Discard all changes and get original rep Answer git fetchgit reset --hard origin/master This question is one of 16 in Git commands. Test yourself on all of them. Practice quiz Flashcards Log in to add an explanation. Report a problem Advertisement