Get started with Bitbucket Cloud
New to Bitbucket Cloud? Check out our get started guides for new users.
When you clone a repository, you create a copy of your Bitbucket repository on your local system. Cloning also connects the remote and local repositories so that you can start pushing and pulling changes between both places.
Prior to cloning or interacting with a Bitbucket Cloud repository using git, you'll need to either:
install the Git Credential Manager (included with Git for Windows for Windows users)
You can use the terminal, SourceTree, or any other client you'd like to clone your Git repository. These instructions show you how to clone your repository using Git from the terminal.
In the repository, select the Clone button.
Copy the clone command.
From a terminal window, change into the local directory where you want to clone your repository.
$ cd <path_to_directory>
Paste the command you copied from Bitbucket, for example:
$ git clone https://username@bitbucket.org/teamsinspace/documentation-tests.git
If the clone was successful, a new sub-directory appears on your local drive with the same name as the repository that you cloned.
For further information on Repository Access Tokens, refer to our Using repository access tokens support documentation.
Was this helpful?