No history yet

Setup and Cloud Storage

Transcript

Beau

Okay, Jo, I have to confess something. I spent twenty minutes this morning trying to figure out which version of our standard operating procedure for the protein assay was the right one.

Jo

Let me guess. You were staring at a folder with files named 'assay_protocol_final', 'assay_protocol_final_v2', and my personal favorite, 'assay_protocol_FINAL_use_this_one'?

Beau

The last one was in all caps, which is how I knew it was serious. It's a nightmare. We have things in shared drives, on local computers... I'm terrified one day someone is going to use a version from six months ago and invalidate a whole week of work.

Jo

That is a completely rational fear. And it's exactly the problem we're going to solve. We're going to completely get rid of that file-naming chaos by using a version control system.

Beau

Okay, 'version control system'. That sounds... intense. And very 'coder-y'. I'm a biologist, Jo. I pipette things. I don't write code.

Jo

Forget the coder stereotype. Think of it like a lab notebook, but for your files. A really, really smart lab notebook. It automatically tracks every single change you make to a protocol, who made it, when they made it, and why. It’s a time machine for your work.

Beau

A time machine... okay, I like that. But wait, don't we kind of have that with things like Google Drive or Dropbox? They have version history.

Jo

That's a great question, and a super common one. Dropbox is great for syncing files, but this system, which is called Git, is different. It's not just about saving snapshots in time. It’s about explicitly deciding *when* to save a change and adding a note about *why* you made it. You don't just save, you... you 'commit' a change with a reason. Like in your lab notebook, you'd write 'Increased incubation time to 30 minutes to improve signal'. You don't just erase the old time, you document the change.

Beau

Okay, that makes sense. It's more deliberate. It's about the 'why', which is the core of science. So, how do we start? Do I need to open one of those scary black terminal windows?

Jo

Absolutely not. We are avoiding the command line entirely. We're going to use two tools. First, a website called Bitbucket to store our project's master copy in the cloud. Think of it as our lab's central, secure digital vault.

Beau

A digital vault. I like it. So we just go to Bitbucket.org, or dot com, and sign up for an account, just like any other website?

Jo

Exactly. Just sign up for a free account. Once you're in, the first thing you'll do is create what's called a 'repository'. Don't let the word scare you. It's just a fancy name for your project's main folder.

Beau

So if I'm starting to write a manuscript about our kinase inhibitor project, I'd create a repository called 'Kinase-Inhibitor-Manuscript'?

Jo

Perfect. You give it a name, maybe a short description, and you make sure to mark it as 'Private', because you don't want the whole world seeing your unpublished data. Then you click 'Create repository'. That's it. Your digital vault for that project now exists.

Beau

Okay, that sounds surprisingly easy. So now I have this... empty folder... sitting on a website. How does that help me with the files on my actual computer?

Jo

This is the second key part. You don't work directly on the files in the cloud vault. That's the 'remote' repository, the single source of truth. You need a copy on your own machine. We call this the 'local' repository.

Beau

Remote and Local. So the master copy is remote on Bitbucket, and my working copy is local on my laptop. Got it.

Jo

Precisely. And to manage the connection between them, we use our second tool: an application called SourceTree. It's basically a remote control for Git. You just download and install it like any other program. No command line, just buttons and menus.

Beau

A remote control. I can handle that. So once SourceTree is installed, how do I... get my empty vault from Bitbucket onto my computer?

Jo

You perform an action called 'cloning'. In SourceTree, you'll connect your Bitbucket account, and you'll see a list of your remote repositories—including the 'Kinase-Inhibitor-Manuscript' one you just made. You click the 'Clone' button.

Beau

Cloning. Okay, not in the Dolly-the-sheep way, I assume.

Jo

Not quite. Think of it more like making a perfect photocopy. SourceTree will ask you two things: 'What do you want to clone?' which is your Bitbucket repository, and 'Where do you want to put it?' which is a folder on your computer. You choose a spot, click okay, and boom. You now have a local, working copy of the project, perfectly linked to the remote master copy.

Beau

So... let me see if I have this straight. Step one: Create the main vault, the 'remote repository', on the Bitbucket website. Step two: Use the remote control app, SourceTree, to 'clone' that vault to my computer, creating my 'local repository'.

Jo

You've got it. That's the entire setup. From that point on, you just work in that local folder on your computer like you normally would. You write your manuscript, you edit your protocols. And SourceTree will just quietly watch in the background, keeping track of every single change you make.

Beau

And there will only ever be one file. No more 'protocol_v2_final'. Just... 'protocol'. That sounds... dangerously simple.

Jo

It's the beauty of it. The complexity is in the history, which the system manages for you, not in your file names. The simplicity is in your folder.