- Create a repository on BitBucket first.
- Create a new folder of interest in your development environment.
- Add some files.
- Type "git init" to initialize the current folder as repository.
- Type "git add ." to add all files.
- Type "git commit -m "Initial."" to perform initial commit.
- Type "git push https://bitbucket.org/user/new_repo master" to push changes into your new BitBucket repository.