If you want to reset, and clean your git repository:
> > $ **git fetch origin && git reset --hard origin/master && git clean -f -d** > > > > There are two "-" before hard. > > > > $ git status > > > > On branch master > > > > Your branch is up-to-date with 'origin/master'. > > > > nothing to commit, working directory clean > >
The git status command is useful in confirming that the reset, and clean has worked.