Posting project to GitHub as a repository is quite easy in Android Studio.
Requirements:
- GitHub account.
- Download Git and install from https://git-scm.com/downloads.
- Android Studio.
Connect GitHub to Android Studio:
- Go to
File -> Settings -> Version Control -> Git
, while a project is being opened - Click
Test
button on the same line asPath to Git executable
field to see whether Git is working. This field is auto-filled if you installed Git from the link above. - Go toÂ
File -> Settings -> Version Control -> GitHub
and choose Add account then fill in your GitHub’s username and password.
Share project to Github
- While opening a project, access
VCS -> Import into Version Control -> Share Project
on GitHub. - Input required information on popup then
Share
.

