I am using Android Studio 3.0.1 when I tried to share my project to Github it gets successfully added to GitHub but when I check GitHub under that repository it added all the projects present in C:\Users\USERNAME\AndroidStudioProjects. How to allow Android Studio to only add the project which I am sharing instead of all?
That means your local git repository is located here:
There are different ways to add just one project to github.
If you are going to add an existing project, firstly, create a github project, create local git repository of your android studio project, then use git -> removes and add there a github link.