I'm trying to get started using git, but I'm having some troubles right away. I'm using Git GUI for Windows. Keep in mind I've never used version control before and don't really know how it works.
What I have is a Code::Blocks C project in a folder on my laptop's hard drive. I opened Git and created a new repository on a USB hard drive. I figured, I could create a branch, which led to the already-existing directory of my project, and then commit all the code in it to the repository. Then every time I wanted to work on this project, I could check out my code, open up the Code::Blocks project and edit. And then get into different branches and stuff, you know, all that jazz.
So I created this repository, and went to create a branch from the menu. I got this dialog, which asked me for either a branch name, or to "Match Tracking Branch Name (whatever that means)." Then, under "Starting Revision," it has a few options. One is "Revision expression" next to a text box, and no matter what I enter it is an invalid revision expression. So I tried the other options, "Local Branch," "Tracking Branch," and "Tag." These enable another text box, but even if "Revision expression" isn't selected, it still says I have entered an invalid one. What is a revision expression? How do I just, check out code, to a directory on my hard drive?
Oh, and then, there is an "Options" section with "Update Existing Branch: [ ] No [x] Fast Forward Only [ ] Reset,"
and two check boxes, "Fetch Tracking Branch" and "Check Out After Creation (this one is obvious)." What do all of these mean? What's a tracking branch? What does "Fast Forward Only" and "Reset" refer to? I have no idea what I'm doing or what I've gotten myself into.