Mac OS:
Android Studio Preferences -> Git -> at bottom, Use Credentials helper (make sure it is checked)
Windows:
Android Studio File -> Settings -> Git -> Check Credentials Helper at bottom
Mac OS:
Android Studio Preferences -> Git -> at bottom, Use Credentials helper (make sure it is checked)
Windows:
Android Studio File -> Settings -> Git -> Check Credentials Helper at bottom