How to Create a repository and Push on Github with Git on Android Studio
Git and GitHub are very different from each other however similar they may sound. This article will take you through creating and pushing an android project repository to github using git. To get started you need android studio and a github account.
To create a repository, you need to have an account on Github. If you don’t yet have one, create one here.
You also need Android Studio installed in your computer. If you don’t yet have it, download it from here.
The next step will be to create a new project in android studio. Navigate to File -> Settings->Version control->Git. By default Git is installed with Android Studio. Click the test button to confirm that Git is working correctly.


After this, you should navigate to Github on the same window and enter the required details. Host should be github.com and the credentials of your github account , test then apply the changes.

Navigate to VCS->Import into Version Control ->Share project on Github

Enter Repository name, Description and click Share button.

In the next window check all the files to add them for initial commit and click OK.
Now the project will be uploaded to github and you will get a notification message once it’s done.