Question: how are git and bitbucket related?
Answer: Bitbucket is a web-based version control repository hosting service owned by Atlassian, for source code and development projects that use either Mercurial (from launch until 1 July 2020) or Git (since October 2011) revision control systems. ... It is similar to GitHub, which primarily uses Git.