cd project git init git remote add origin url_on_github git fetch origin git reset origin/master git status