Git global settings:
git config --global user.name "xxx"
git config --global user.email "xxx@qq.com"
Create git repository:
mkdir android-base
cd android-base
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/www.dub.get/android-base.git
git push -u origin master
Existing repository?
cd existing_git_repo
git remote add origin https://gitee.com/www.dub.get/android-base.git
git push -u origin master