http://stackoverflow.com/questions/3489173/how-to-clone-git-repository-with-specific-revision-changeset git reset –hard FETCH_HEAD