1. Initialize the warehouse
git init
2.remote
git remote add origin warehouse address
3. Pull the Master branch from the remote branch and merge with the local master branch
git pull origin master:master
4. Submit the local branch to the remote branch
git push -u origin master
5. Add and submit existing projects for upload
git add -A
git commit -m ''
git push --set-upstream origin master