If you want to drop all your local changes and commits, fetch the latest history from the server and point your local master branch at it like this
Announcement
You can find all my latest posts on medium.git fetch origin git reset --hard origin/master
http://git-scm.com/blog/2011/07/11/reset.html