

Git is a distributed version control tool, this means a developer is able to clone, pull or fetch changes to the code base which downloads the code from the server to their local machine for them to build upon. It allows you to track changes you make your code over time and simplifies the software development process for teams that may be spread across the globe and working on the same code base. Git is software development tool that handles version management of source code. Video can’t be loaded because JavaScript is disabled: Branching and Merging using Git and GitHub in Android Studio () What is Git?

If you prefer to watch a video of this tutorial, I have embedded the tutorial I created and uploaded to YouTube for this post below.


In this article I will take you through the how to use Git and GitHub for your Android app code base directly within the Android Studio IDE.īefore we go into the tutorial I will share with you some more information about Git and GitHub. GitHub provides a hosting solution for your Git repository and offers all the features of Git in addition to features to enhance collaboration between developers using the code repository. Git stands out as the most popular, feature rich, open source, free to use tool for handling the tasks mentioned above as well as many others. Manually remembering the changes you have made to your code of your Android app over time is a difficult task and when you working with a team of developers it becomes outright impossible this is why many developers opt to use a VCS. Using a version control system (VCS) such as Git is useful for many different use cases during Android app development including enabling virtual teams of developers to work independently through branching and merging, reverting changes to code that have caused defects or performance degradation and facilitating code reviews via pull requests.
