This is because the argument to reset
is a "tree-ish", such as a branch name or a sha.
So, I think the commands you want are:
cd /c/users/xxx/dropbox/repo
git fetch
git reset --hard origin/master
Edit regarding your comment:
If you are interacting with a remote repo, your probably want to define a remote to it.
For example:
git remote add dropbox <dropbox url>
Then, the commands would change to:
git fetch dropbox
git reset --hard dropbox/master
You probably want dropbox/master
rather than just master
for your reset
command because the fetch you just did would have updated your local dropbox/master
branch pointer rather than your master
branch pointer.
https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes
https://git-scm.com/docs/git-reset