File -> Settings -> Version Control -> Git -> Path to Git executable -> 选择本地 Git 可执行文件 -> Testandroid
VCS -> VCS Operations Popup -> Gitgit
项目结构切换为 Project -> 项目名文件夹上右键 -> Git -> Add服务器
项目结构切换为 Project -> 项目名文件夹上右键 -> Git -> Commit Directory -> 填写 Commit Message -> Commitssh
项目结构切换为 Project -> 项目名文件夹上右键 -> Git -> Respository -> Remotes -> 右边的加号 -> url 填写 git 服务器的 git 仓库地址,好比 ssh://git@seliote.com:27/home/git/android.giturl
项目结构切换为 Project -> 项目名文件夹上右键 -> Git -> Respository -> Remotes -> Pushit