$ cd /path/to/repository
$ git init
$ git add .
$ git config user.email "example@163.com"
$ git config user.name "name"
$ git commit -m 'initial commit of full repository'
$ git remote rm origin
$ git remote add origin https://......
$ git push origin master
Then input the password of your Bitbucket account…
https://……: the content can be found on Bitbucket (when git clone…)