Reset local and pull git reset --hard && git pull OR git stash && git pull && git stash pop Remove Git repo from local directory rm -rf .git Clone an existing repository git clone https://github.com/user/repo.git