[Git with SourceTree - Tutorial]

Info: Git is version control software that helps one easily maintain the versions and changes throughout their project. If a critical mistake is made, one can simply roll back their changes to previous point in time that they marked, called a commit. While that's more of a developer feature, what makes it worth while to use is the fact that after it's set up all that's needed from the user (YOU!) is one action: Pull.

Now for some terminology:
Git - The underlying software that powers the program we'll be using: SourceTree.
Commit - A marker for a set of changes. Commits have messages attached to them, so you can see exactly what's been changed.
Push - An action that uploads the current committed changes to the server.
Pull - An action that downloads the latest pushed changes to your local harddrive.
Repository (Repo) - A Git project. The set of source files for the project in question, hosted either localy, remotely or both.
Clone - An action that downloads an entire repositoriy to your harddrive. 

--------------------------------
Enough info! On to the tutorial:
--------------------------------
Follow these instructions exactly and you should have no problems.

[Basic Setup]
---
Step 1: Sign Up for BitBucket:
- https://bitbucket.org/account/signup/

Step 2: Download SourceTree:
- http://www.sourcetreeapp.com/?utm_source=bitbucket&utm_medium=link&utm_campaign=bitbucket_footer

Step 3: Send me (Alexei) your username on BitBucket so that you may be invited to the current project.
- The project is private on BitBucket, so you must be invited to see it and get files from it.

Step 4: Check your email and accept the invite.

Step 5: Open SourceTree and clone your first repository:
- If you're asked about an SSH key, just click "No."
a. In the top left of the tool bar, the very first icon is "Clone / New." Click it and keep this window open.
b. Now go to BitBucket.org and log in. You should see the Dashboard screen with all of the repos that you have in your account. You should see the one you've been invited to. Click it.
c. Now you should see the "Overview" screen for that project. In the top righto of the screen, you'll see a URL, starting with "https://." Copy this URL.
d. Go back to SourceTree and paste the copied url in the "Source Path / URL" field. It's the very first one.
e. Next, set the "Destination Path" field to a unique location on your harddrive. Make sure it's some place separate and dedicated to this project.
- IMPORTANT: Make sure that you DO NOT make any changes to the files in this folder unless otherwise stated. Pulling, which will be discussed later, will fail if you do so. Keep the folder untouched. You may test from it and use the files of course, just don't work out of it. If you have to make changes, copy the files to another location and work on them there.
f. Make sure "Bookmark this repository" is checked so you can access it in the Bookmarks Panel (left side list) later on.
g. Fill in a name for your local repository and click "Clone" when you're done. This will download all project files to the folder you set as "Destination Path." Give it some time. This might take a while.

Step 6: Copy your config over.
- Due to the various settings that people have, the mugen.cfg file was left out of the repo. Make sure you copy your own mugen.cfg to the "data" folder before testing anything. All other files are included, so you should not have any other issues with missing files.

Step 7: Profit.
- That's it. You have successfully cloned your first repo and are ready to use it.


[Usage Instructions]
Now that you have the project cloned, all you need to do is "Pull" each time to receive subsequent changes.
---
Step 1: Pull the latest commit / changes.
a. You'll see four little dropdown areas with labels of "File Status", "Branches", "Tags" and "Remotes." Under "Branches," click "master." This will show a list of all of the commits that have been made. You can click each one to see the details of the changes and all the full message of each commit.
b. Having the "master" branch selected, click the "Pull" button in the middle of the tool bar at the top.
c. On this window, leave everything the same at as it is except for the "Commit merged changes immediately" option. Make sure that is unchecked.
d. Click "OK" to download the latest changes.
e. That's it. That's all you have to do. Any time there are new changes for you, simply do these steps. Easy, right?

Step 2: Commit and push your changes.
a. After you are done making changes that you think are ready to be pushed, simply click the "Commit" button in the top bar. It's the first icon.
b. Check all the files to move them to "staging" (also known as staging the changes.)
c. Type a commit message that describes what your changes are.
d. Check "Push" immediately if you feel it's safe to.
e. Click "Commit."