$ git init
$ git config --global user.name
"username"
$ git config --global user.email
"email"
$ git remote -v
$ git remote add [shortname] [url]
$ git pull <远程主机名> <远程分支名>
:<本地分支名>
$ git add .
$ git commit -m
"注释"
$ git push <远程主机名> <本地分支名>
:<远程分支名>