Use Git in Android Studio.
If you don't use Git, perhaps now is the time to begin using it. Git us to easily manage different states in our code. Want to look at the code as it appeared yesterday? last week? last month? or maybe even just 30 minutes ago?
Git allows quickly go back-in-time.
gitfor more information on how it works.
The good news? Git integration is built into Android Studio! Simply use the
VCS drop-down at the top of Android Studio, then click
git, then a specific command.