You can view files with the *.geojson extension as interactive maps directly in Bitbucket.
To view a geoJSON file as a map:
- Navigate to the Source section on the left-hand sidebar in your repository
- Locate a file you would like to view
- Select the 'View as map' option in the 'Default File Viewer' menu: