Step 1: Switch to your repository’s directory
cd /path/to/your/repo
Step 2: Connect your existing repository to Bitbucket
git remote add origin https://PATH_TO_YOUR_REPO
git push -u origin master
Step 1: Switch to your repository’s directory
cd /path/to/your/repo
Step 2: Connect your existing repository to Bitbucket
git remote add origin https://PATH_TO_YOUR_REPO
git push -u origin master