zx /* enter the target folder you want to push */ git init git add xxxxx //(xxxxx: file name) git commit -m "first commit" //(name of this commit) git remote add origin https://github.com/ooooo/xxxxx // (ooooo: name of your git account, xxxxx: your repo) git push -u origin master