...(to be finished)
git fetch --all
git reset --hard origin/master
git reset --hard origin/<branch_name>
git fetch
$ git checkout / -- relative/path/to/file/or/dir
...(to be finished)
git fetch --all
git reset --hard origin/master
git reset --hard origin/<branch_name>
git fetch
$ git checkout / -- relative/path/to/file/or/dir