Go to your local repository in bash
$ git fetch origin
$ git reset –hard origin/master
To clean and remove untracked files and directories
$ git clean -fdx
Go to your local repository in bash
$ git fetch origin
$ git reset –hard origin/master
To clean and remove untracked files and directories
$ git clean -fdx