Make sure you have a master branch locally (Featch > Create Branch > ) Create a branch to work. If that goes wrong, simply delete it , start from master again