How to Use Bitbucket with Github for Mac

I like BitBucket – all the cool kids use Github, but for small businesses BitBucket is great. Why? Because it has free private repositories for teams of 5 or smaller. And that’s me right there.

Currently I am using BitBucket for Brush Ninja, and I’ve recently started using it for Pro Theme Design. We use Git at Miniclip, and we also use a lot of the Atlassian suite. We actually host Git ourselves and don’t use BitBucket – but we do use Stash, Bamboo, Jira, and Confluence – so I’m quite well versed in their apps. As such I use SourceTree for my Git management. Much nicer than the command line – but also more complex than the Github Mac app.

Darren however isn’t used to SourceTree or BitBucket. He uses Github – and Github for Mac – but Github for Mac is designed around Github so using it for external repositories can be a little confusing. To help with this – I have written a short guide for adding an external repository to Github for Mac.

  1. Login to BitBucket and go to the repository you want to use
  2. Click the “Clone” button, and change the drop down option to HTTPS.
  3. Copy the command that appears (something like: git clone https://[email protected]/team-name/repository-name.git)
  4. Open terminal on your mac and navigate to wherever you want the theme files stored.
  5. Paste the clone command in the terminal, press enter and then enter your password when requested.
  6. In Github for Mac go to the repositories screen and click the + sign in the status bar.
  7. Select Add Local Repository – and then select the repository you folder you want to add.
  8. Done

Note that for this to work you will need to have Git installed on your dev machine. You can download Git from the official website.

I’ve only tried this with Github for Mac and BitBucket but I imagine the instructions will be basically the same for any 3rd party repository, and almost the same for the Windows version of the Github app.

Let me know what you think on Mastodon, or BlueSky (or Twitter X if you must).

Related Posts

06 Nov 2014

Updating SourceTree Git Login Credentials

At work we use Git for versioning our code. We also use the suite of Atlassian products for managing tasks, code, and deployment. As such I use SourceTree a lot to manage my code. We’re also security conscious and so...
09 Feb 2018

Getting Started With Github Desktop

When I wrote about using Github for Copywriters I wanted to keep things simple so that my copywriter friend could edit website content easily without having to worry about using Github properly. The problem is he now wants to create...
25 Jun 2018

Brush Ninja

4 years ago I uploaded a video of an animation creator website I was building called Brush Ninja. Then mostly forgot about it.The project was too much for my knowledge at the time. I was planning to make a full...
04 Sep 2012

7 Uknown Mac Apps You Might Find Helpful

I converted to Mac a couple of years ago – and am now a bit of a fanboy. Over the last couple of years I’ve been scouring the interwebs looking for the best apps to make my Mac usage even...
10 Sep 2016

Using Github for Copywriters (via the Github website)

I’m currently working on a new WordPress course (MasterWP – first email is sent on Monday 12th September) that helps to teach things beyond the basics – and to do it I need a website. I’m making the course with...
08 Sep 2012

Quick Tips: Taking Screenshots on a Mac

I take a lot of screenshots on my Mac – for all sorts of reasons. Often it’s screenshots of web pages that I am going to draw over or modify for mockups. Sometimes it’s screen shots of bugs that need...