For Mac User Please Go to As Below:
(First of all you must have installed bitbucket plugin)
Android Studio -> Preference -> Other Settings -> Bitbucket
Now change your password and click on Test for verify it. Will also able to add SSH Key for login.
Also its depend on which plugin you used. Some have direct like
Android Studio -> Preference -> Bitbucket linky