Legacy Documentation: Version 5.2
Step 2: Fork the Repository You Want to Contribute To
Step 4: Apply Modifications to Your Fork

Step 3: Clone Your Fork

Next, you should clone your fork locally so you can make your modifications. If the repository is a Mercurial repository, you’ll need to get a Mercurial Client. If it’s a Git repository, you’ll need to get a Git client. Atlassian (the company that owns Bitbucket) maintains an application called SourceTree that runs on both Windows and OS X and works with both Mercurial and Git Repositories. We use SourceTree heavily within Unity Technologies to interact with our own Mercurial repositories. You can also use a different client if you wish – explore the download page for Mercurial and Git to see some options.

Once you have your Mercurial or Git client ready, you can clone it via the URL on your fork’s page:

This an example of cloning our fork in SourceTree:

Step 2: Fork the Repository You Want to Contribute To
Step 4: Apply Modifications to Your Fork