Prerequisites:
1. Install the Git client download link
2 a GitHub account
(assuming you already have some git basics, if not at all, go to other bonus learning)
Androidstudio Project released to GitHub
2. Settings: Settings, Version Control, git, set git directory, click Test, if successful there will be success hint
3. Settings: settring, VersionControl, GitHub, set your own github account, password, click Test, if successful there will be success prompt
4. Share project: VCS, Import into Version Control---Share project on GitHub, click to Start setting Repository name (if you have set up Masterpasswo Rd will pop up a dialog box to fill in the password.)
After clicking on share, you'll be able to see the new warehouse on GitHub.
Version control Git can also be seen in Androidstudio under CVS:
Using Git in Windows Androidstudio (Androidstudio project is associated with GitHub)