查看远端:git remote
添加远端:git remote add [remote_xx] [remote address]
移除远端:git remote remove [remote_xx]
拉取远端: git pull [remote_xx]
创建分支: git checkout -b local_branch [remote_xx]/<on_branch>
远程分支关联:git branch --set-upstream-to=[remote_xx]/<on_branch> local_branch
推送某个本地分支到远端分支: git push [remote_xx] local_branch:online_branch
推送所有分支: git push [remote_xx] --all
推送所有tags: git push [remote_xx] --tags