Upload Android to Bitbucket -GIT – BITBUCKET – RESPOSITORY – ANDROID STUDIO

1- Create the repository on your Bitbucket account

2- Create your project in Android Studio

3- In Android Studio, Go to VCS

4- Choose 'Enable version control'

5- Choose Git and press OK

6- Right click on your project, choose Git then click Add

7- Open Terminal in Android studio

8- Go to your Bitbucket repository Overview

9- Click on 'I have an existing Project'

10- Copy the 'git remote add origin ... etc' line to your terminal and press enter

11- Click on 'Commit Changes', write your comment then press Commit and push

IF error: src refspec master does not match any ...

git init
git add .
git commit -m 'Initial Commit'
git push -u origin master