I forked an upstream repository in the following way:
git init git commit --allow-empty -m "Initial empty commit." git remote add origin git@bitbuck