.dotfiles git init . git remote add origin https://github.com/pjreddie/.dotfiles git pull origin master git checkout -f master git pull origin master I don't know why you have to do that but you do. I don't understand git.