Skip to main content

How to Add an Android Studio Project to GitHub Repositories

How to Add an Android Studio Project to GitHub Repositories

What Is GitHub?

GitHub is a for-profit company that offers a cloud-based Git repository hosting service. Essentially, it makes it a lot easier for individuals and teams to use Git for version control and collaboration.


Step-1: Sign up and create a GitHub account in https://github.com/join

How to Add an Android Studio Project to GitHub Repositories

Step-2: Download git from https://git-scm.com/downloads and install it in your system.

Step-3: Open the project in android studio and go to File 🠚 Settings 🠚 Version Control 🠚 Git.

How to Add an Android Studio Project to GitHub Repositories

Step-4: Click on test button to test “path to Git executables”. If successful message is shown everything is ok, else navigate to git.exe from where you installed git and test again.

How to Add an Android Studio Project to GitHub Repositories

Step-5: Go to File 🠚 Settings 🠚 Version Control 🠚 GitHub. Enter your email and password used to create GitHub account and click on OK button.

How to Add an Android Studio Project to GitHub Repositories

Step-6: Then go to VCS 🠚 Import into Version Control 🠚 Share Project on GitHub. Enter Repository name, Description and click Share button.

How to Add an Android Studio Project to GitHub Repositories
How to Add an Android Studio Project to GitHub Repositories

Step-7: In the next window check all files inorder to add files for initial commit and click OK.

Step-8: Now the project will be uploaded to the GitHub repository and when uploading is finished we will get a message in android studio showing “Successfully shared project on GitHub”. Click on the link provided in that message to go to GitHub repository.

Admin

Hi, I am Imran Alam, Full Stack Developer. Helping local businesses to enhance their reach to customers through Websites, Web / Mobile Application, and Digital Marketing. We offer a long range of services like Website Designing, Android Application, School Management System, LMS Software, Point of Sale (Pos) , SEO, Social media Marketing, and Technical Support as well.

Share via
Copy link
Powered by Social Snap